Fix bug in sqlite driver
Add more importer testing