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