fix typo
add more tests fo pattern adaptor
make some tests more direct
start extracting pubsub into decomposed form
remove legacy parameter
singleEventPubSub: no longer supporting multiple events
duplicate pubSub tests before reducing
unit tests for new pubsub code