Fix RemoveStacktrace test to work with new sanitize_fields