@Test
public void testDelete() {

	String inputCommand = "d\n" + target + "\ne\n";
	try {
		assertTrue(gateway.getBindings().containsKey(target));
		command.execute("m", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!yv\n", sWriter.toString());
		assertFalse(gateway.getBindings().containsKey(target));
		command.execute("m", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!yv\n!yv\n", sWriter.toString());
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}