Added unit test with embedded broker example
Unit test stuff