Improve Regex.escape tests