class scanner test