Tests now sorted lists for object comparison