added getter for hash of games and fixed variable in retrieve_game test