Added test for defect #2644 where changing FK does not null the nav property