Add test for escape sequences