add test to check for relation