Add a test for being able to set a foreign key reference on a property