Add test to show that only matched subscriptions are cleared by clearSubscriptions