add test for relationships