Tests for `HTML.escape`, `javascript.escape` and `URL.escape`
code cleanup