Add test for FK fields that are nil