Relationship testing and implementation