add test to store a game state