Fix test for new method of escaping

Fixed the test for the new method of escaping