Add a test to verify that error messages are passed from the child

The test does *not* currently pass. It is to verify that the issue reported in #9 exists.