Adding test for socketIO emitPhaseChanged