adding unit tests for game_state