fix scanner test