tag.put(Tag.TAG_TITLE, "tag title2");
tag.put(Tag.TAG_REFERENCE_COUNT, 3);
tag.put(Tag.TAG_PUBLISHED_REFERENCE_COUNT, 3);
final Transaction transaction = tagRepository.beginTransaction();
tagRepository.add(tag);
transaction.commit();
List<JSONObject> mostUsedTags = tagRepository.getMostUsedTags(3);
Assert.assertNotNull(mostUsedTags);