removing printfs from the kernel file and some unused imports from tests