379da4ed

By: Michael Lynch <git@mtlynch.io>

Use memdb test databases in SQLite test helper

Open test SQLite databases with memdb.TestDB so tests use the helper's
per-test database lifecycle instead of generating random VFS names locally.

Accept an already-open *sql.DB in sqlite.New so production and tests both
open their database handles explicitly before store initialization.