fix whitelist tests