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