Fixed uncaught error when a body was consumed more than once.

Ammended tets to also check error message, not just type.