@Test
 public void testAddMajor() {
   assertTrue(controller.addStudent("testAddMajor"));
   Iterator i = controller.getStudents().iterator();
   Student s = null;
   while (i.hasNext()) s = (Student) i.next();
   assertNotNull(s);
   assertTrue(controller.setMajor(s, new Major()));
   assertTrue(s.getMajor().getId() == 0);
 }