assertTrue("Could not verify PendingConfirmation state", l.size() == 1 && l.get(0).getArn().equals("PendingConfirmation"));
s = subscriptionHandler.confirmSubscription(false, s.getToken(), t.getArn());
l = subscriptionHandler.listSubscriptions(null, null, userId1);
assertTrue("Expected 1 subscription, instead found " + l.size(), l.size() == 1);
l = subscriptionHandler.listSubscriptionsByTopic(null, t.getArn(), null);