Added tests for relationships schemas