test implementation for IConsumer