fix cases where config is nil
fix tests setup for new object game_config