fix imports for algorithm tests