Move sqlite3 driver registration to test code.