test escape characters and special strings