49231655 Testing of Relationship resources

Implementation fixes and behave testcases.