fix import test and add missing dependency