MANTA-17 replacing scanWindow assertions