updates test example to show how to set relationships