add spec test for subscriptions