Add regression test

Effectively testing for this regression requires making the parser more
lenient (the test would otherwise have to specify many additional errors
that described unspecified parsing behavior in an invalid state).

In addition, remove assertoions from existing tests that suffer from
overspecified errors.