Test for relation