fixed issues with testing sqlite