HasOne relation integration tests