Add BaseConsumer tests.