fixed tests and created the game state