test(parser): Relax exception match to support Firefox

For #801