RelationTest class