move sqlite3 out of dev/test block