@Ignore // fails due to failing isOpen in rawQuery
  public void testSetBookmarkLabels() {
    BookmarkDto bookmark = addTestVerse();
    LabelDto label1 = addTestLabel();
    LabelDto label2 = addTestLabel();
    List<LabelDto> labelList = new ArrayList<LabelDto>();
    labelList.add(label1);
    labelList.add(label2);

    // add 2 labels and check they are saved
    bookmarkControl.setBookmarkLabels(bookmark, labelList);

    List<BookmarkDto> list1 = bookmarkControl.getBookmarksWithLabel(label1);
    assertEquals(1, list1.size());
    assertEquals(bookmark, list1.get(0));

    List<BookmarkDto> list2 = bookmarkControl.getBookmarksWithLabel(label2);
    assertEquals(1, list2.size());
    assertEquals(bookmark, list2.get(0));

    // check 1 label is deleted if it is not linked
    List<LabelDto> labelList2 = new ArrayList<LabelDto>();
    labelList2.add(label1);
    bookmarkControl.setBookmarkLabels(bookmark, labelList2);

    List<BookmarkDto> list3 = bookmarkControl.getBookmarksWithLabel(label1);
    assertEquals(1, list3.size());
    List<BookmarkDto> list4 = bookmarkControl.getBookmarksWithLabel(label2);
    assertEquals(0, list4.size());
  }
  @Ignore // fails due to failing isOpen in rawQuery
  public void testGetBookmarksWithLabel() {
    BookmarkDto bookmark = addTestVerse();
    LabelDto label1 = addTestLabel();
    List<LabelDto> labelList = new ArrayList<LabelDto>();
    labelList.add(label1);

    // add 2 labels and check they are saved
    bookmarkControl.setBookmarkLabels(bookmark, labelList);

    List<BookmarkDto> list1 = bookmarkControl.getBookmarksWithLabel(label1);
    assertEquals(1, list1.size());
    assertEquals(bookmark, list1.get(0));
  }