fix high byte parsing
correctly handle double escaped tests