Write test for SubscriptionController