Add tests for destroyUser, withSqlite and query funcs