added first parsing error test, and fixed parser to pass it
Merge pull request #4 from yanhick/parsing-error-tests

added first parsing error test, and fixed parser to pass it