tests: Added test_echo_consumer.