Add tests. Fix getting game.