typo fixed
PubSub service implemented + test