Add test cases for escape characters