add tests for escaper functions
increase test coverage to *almost* 100%