now using File::Temp and DB::API to create on-the-fly SQLite database when testing