fix scanner tests