added tests for server#chooseWinner
added tests for server#chooseWinner