Fix test on getGames action: game id was undefined when user had tried to join game