@Test
	public void testOutputFutureMeetings() throws IOException {
		Calendar thisDate = new GregorianCalendar(2015,3,2);
		cm.addFutureMeeting(contacts, thisDate);
		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<Meeting> futureMeetingList = (ArrayList) inputData.get(0);

		assertTrue(futureMeetingList.get(0).getDate().compareTo(thisDate) == 0);
	}