em.clear();
labels = labelRepository.findAllWithRelations(null, null);
assert labels.size()==1;
em.clear();
Label label = labelRepository.findById(labels.iterator().next().getId());
assert label != null;
labels = labelRepository.findByName("Arista");
assert labels.size()==1;
assert labels.iterator().next().getName().equals("Arista");