Began on error unit test.
Handling of producer and consumer errors improve, but not finished.
more error logging