Fix test after renaming of dryRunScan permission