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

...alue 0.