streamline call to cancel subscription
refactored test mock