updated sqlite db tests to use a test framework for the query and overwrite tests. fixes #637
small filename change
removed extra using