added 3 unit tests for check_winner function