Added a test for model definition `get_or_create` with defaults.

The test should fail against Django's master because of django/django@6272d2f155.