@Test
public void testReverse() {

	String inputCommand = ListCommand.LIST_REVERSE_SUB_COMMAND_NAME + "\n" + target + "\ne\n";
	try {
		command.execute("l", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!yv\n", sWriter.toString());
		assertEquals(list.get(0), "2");
		assertEquals(list.get(1), "3");
		assertEquals(list.get(2), "9");
		assertEquals(list.get(3), "1");
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}