@Test
	public void testExitCode()
	{
		//Ensures ErrorManager returns correct exit codes
		ErrorManager emt = ErrorManager.getInstance();
		emt.resetErrorCount();
		emt.setErrorOutput(System.err);
		assertEquals(0, emt.getExitCode());
		emt.error("Testing ExitCode");
		assertEquals(7, emt.getExitCode());
		emt.error("Testing ExitCode");
		assertEquals(7, emt.getExitCode());
	}