sqlite test backwards compatible