@Test
    public void newBoardTest() throws IOException {
        Server server = makeServer();
        //board1 adds correctly
        assertTrue(server.newBoard("board1"));
        assertTrue(server.getBoardsHashtable().containsKey("board1")
                && server.getBoardsHashtable().size() == 1);
        //board2 adds correctly
        assertTrue(server.newBoard("board2"));
        assertTrue(server.getBoardsHashtable().containsKey("board1") 
                && server.getBoardsHashtable().containsKey("board2")
                && server.getBoardsHashtable().size() == 2);
        //board2 will not add again
        assertTrue(!server.newBoard("board2"));
        assertTrue(server.getBoardsHashtable().containsKey("board1") 
                && server.getBoardsHashtable().containsKey("board2")
                && server.getBoardsHashtable().size() == 2);
        server.close();
    }