merged from trunk: test and fix for PK corruption on replace issue.

git-svn-id: http://svn.svnkit.com/repos/sqljet@1281 06c6b4df-3a75-4b2a-9d74-3e57e8079485