Refactor remaining relation model tests to use factories.