Add tests for (un)escaping