Test case asserting issue in gh-274
add parser.on('start'|'end' options, fixes gh-274