@Test
    public void testRemoveQueueNotExist() {
        LOGGER.log(Level.INFO, "----- STARTING TEST testRemoveQueueNotExist -----");
        boolean queue_not_exist = false;
        try {
            server1.setUseMessageQueues(true);
        } catch (TimeoutException e) {
            exception = true;
        }
        try {
            server2.setUseMessageQueues(true);
        } catch (TimeoutException e) {
            exception = true;
        }
        try {
            server1.startThread();
        } catch (IOException | ServerSocketCloseException | FeatureNotUsedException e) {
            exception = true;
        }
        waitListenThreadStart(server1);
        Assert.assertTrue(server1.getListenThread().getRun(), "ListenThread did not start in time");
        String client_hash = "";
        try {
            client_hash = server2.addSocket("127.0.0.1", port);
        } catch (IOException | TimeoutException e) {
            exception = true;
        }
        waitSocketThreadAddNotEmpty(server2);
        waitSocketThreadAddNotEmpty(server1);
        String server_hash = getServerLastSocketHash(server1);
        waitSocketThreadState(server1, server_hash, SocketThread.CONFIRMED);
        waitMessageQueueAddNotEmpty(server1);
        waitMessageQueueState(server1, server_hash, MessageQueue.RUNNING);
        try {
            server1.removeQueue("TEST");
        } catch (HashNotFoundException e) {
            queue_not_exist = true;
        } catch (NullException e) {
            exception = true;
        }
        Assert.assertTrue(queue_not_exist, "Successfully removed queue, should have received a HashNotFoundException");
        Assert.assertFalse(server1.getQueueList().isEmpty(), "queue_list was emptied. No MessageQueues should have been removed");
        Assert.assertTrue(server1.getQueueList().containsKey(server_hash), "MessageQueue with hash " + server_hash + "should not have been removed from server");
        Assert.assertEquals(server1.getQueueList().get(server_hash).getRun(), MessageQueue.RUNNING, "MessageQueue with hash " + server_hash + "should not have stopped running");
        Assert.assertFalse(exception, "Exception found");
        LOGGER.log(Level.INFO, "----- TEST testRemoveQueueNotExist COMPLETED -----");
    }