Add tests for one-to-one relationships.