add test code for let/ec rewriting

Simplified (could be too over) let/ec code
within gen-read-until-string from sgml-reader.

Suspect the code would always return null.
And added possible fix.