Fixed  some failing tests
Refactored get_labels in order to allow duplicate group membership