added test for user relationships