@Test
  public void testConstructor() {
    // Also tests addTask and addAllTasks hbecause they are used by the constructor

    UserStory userstory2 = new UserStory(0, "Story2", Priority.MIDDLE);

    assertEquals("Story2", userstory2.getTitle());
    assertEquals(Priority.MIDDLE, userstory2.getPriority());
    assertEquals("", userstory2.getDescription());

    assertEquals("Story1", userstory.getTitle());
    assertEquals(Priority.HIGH, userstory.getPriority());
    assertEquals("An userstory", userstory.getDescription());
  }
 public void testSetTitle() {
   userstory.setTitle("Story2");
   assertEquals("Story2", userstory.getTitle());
 }