Added relationship tests.