Fix scanner test