added relationship attribute test