@Test
    public void testSendMessage() throws Exception {
        
        AccessControlServer server = new AccessControlServer(1925);
        server.start();                     //start listening for connection.
        
        SpotStub spot = new SpotStub("101",1925);
        spot.start();
        
        sleep(100);
        
        String ans = "";
        int x = 0;
        while(x == 0){
            ans = spot.getAnswer();
            //sleep(100);
            if(ans != ""){
                
                x = 1;
            }
        }
        assertEquals(ans,"Faculty");
        spot.quit();
        resetSpots();
        //System.out.println("sendMessage");
        //String msg = "TEST MESSAGE";
        //PrintWriter pout = null;
    }