tests for relation objeccts