Added tests for end of game.