Refactor test code for get_game_url() #17