refactored game state tests