QUnit tests: String Encoding/Escaping Functions