escape sequences for chars
fixed test