Now check it if the team is NULL
Fixed the tests of function game_winningTeam