Added tests for subscriptions