unit test for PubSub subcription records removal