Issue70: add end of file detection for open tags with a test