Test error forwarding.

Closes #8.