Add unit test for removeSubscriber()