unit tests for GameStateBuilder