Add stacktrace to ParseError

Fixes #854. Also clean up the parse error test a little, while adding a .stack check.
That's the message shown if the test fails, though. It will show a comparison of the actual == expected below.