@Test
	public void testOutputContacts() throws IOException {
		cm.addFutureMeeting(contacts, new GregorianCalendar(2015,3,2));
		cm.addNewPastMeeting(contacts, new GregorianCalendar(2013,5,3), "meeting");
		cm.flush();
		ObjectInputStream ois = new ObjectInputStream(new FileInputStream("contacts.txt"));
		List inputData = null;
		try {
			inputData = (ArrayList) ois.readObject();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} finally {
			try {
				ois.close();
			} catch (IOException ex){
				ex.printStackTrace();
			}
		}

		List<Contact> inputContactList = (ArrayList) inputData.get(2);

		assertEquals(inputContactList.get(0), alan);
	}