increase test coverage, fix line length limit in importdb