Remove explicit primary keys from test objects.