Added support for mocking subscription cancellation