rewriting Eventhub unit tests