add test, update import fx to take db handle instead of filename