Implemented 'escape' decoding and associated test spec.