fix test_sqlitecachedb_upgrade.py