Fixed and restored assertions in OneToOneTests.test_foreign_key.
These assertions had been removed in 34ba8670 and 7fe554b2,
seemingly because they were referencing the wrong objects, and so
they started failing when the checking of object types (as well as
PK values) was introduced.