ph2thomas: test need_phi