@Test
    public void testRunStartServerDuplicateSpots()throws Exception{
        AccessControlServer server = new AccessControlServer(1934);
        server.start();
        SpotStub spot = new SpotStub("139",1934);
        spot.start();
        sleep(100);
        SpotStub spot2 = new SpotStub("139",1934);
        spot2.start();
        
        sleep(1000);
        
        String ans = "";
        int x = 0;
        while(x != -1 && x<=50){ //if no response is received in 10 seconds, test is deemed failed.
            x++;
            ans = spot2.getAnswer();
            sleep(100);
            if(ans != ""){
                x = -1;
            }
        }
        assertEquals("another",ans);
    }