add the test for should return the correct phase when there is a current phase.