related_objects test