Add a basic test for the container-relation-joined relation.
The purpose of this branch isn't to add full test coverage for the
container-relation-joined relation. It's to make it possible to add
tests for this hooks (and other hooks as well, of course). I added a
simple test to show that it's indeed possible to test it.