Add tests for leaving game