unit test using EmbeddedChannel