Use ForeignKey for foreign keys and NullBooleanField in tests