Made certScanner and its tests async