Added unit test for checkMigrate with primary key + autoinc

Added unit test to make sure that checkMigrate() works when adding a
primary key and autoincrement column to a table schema.