refactored test stuff - now a test common library so producer and consumer modules can have common lib to start/stop broker in their tests