Fixed #21517 -- Added unit test for non-autoincrement primary key with value 0.