Adding tests on relationships