Add tests for parse error output; minor fixes.