Db upgraded to support sqlite (used for testing)
Test case fixed to use adbapi