test for relations