Fix unit test for ESBConsumerImpl