Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.

Test will no longer attempt to insert multiple NULL rows in to a unique
field if the database doesn't support it.
Merge pull request #2151 from manfre/ticket-21746

Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.