Added tests for moving task from phase to phase