Fix Primary key violation test.