Simplify tests for autoincrement in sqlite.