Make whitelist immutable, chdir for default tests