[HttpFoundation] Improve string values in test codes