Move relationship tests into a test module.