added another unit test for hasWinner