re-implemented raw parser, fixed AP=1 mode
switch to unescaped tests
updated example