test model without primaryKey