Ensure that the parser is finished and did not error
Merge pull request #9 from dstufft/ensure-finished-non-errored

Ensure that the parser is finished and did not error
Test that we make the right number of callback calls