fix import in test after refactoring