tests: Added TestEchoConsumer.