Detecting complex singularities of a Hele-Shaw flow