Escape test method name to prevent potential XML breakage