Added tests for escaped characters