Relationship test case