Improve tests for IDBCursor advance

 - split checkpoint into its own file.