Adding test for PhaseChange