test cases, few changes to emitor, added subscriber code