make the test for should return the correct phase when there is a current phase a bit more comprehensive