updated test for adding relationships