verify that errors get raised when parser is misconfigured