Added unit test for Phase.Transition.