Improved exceptional test cases fo consumer and producer.