tests for relation objects