finished implementations for comparators and the various return lists, added testing in the LibraryGenericTest class