sanitize environment variables for tests