AttackProtector: Fix tests.