Don't use XPath to validate test run arguments; add utility method to expand character references in strings.