                 subscriptions: [
                     "monthly_freetrial": [
                         "billing_issues_detected_at": nil,
+                        "expires_date": "2200-07-26T23:50:40Z",
+                        "is_sandbox": false,
+                        "original_purchase_date": "1999-07-26T23:30:41Z",
+                        "period_type": "normal",
+                        "purchase_date": "1999-07-26T23:30:41Z",
+                        "store": "app_store",
+                        "unsubscribe_detected_at": nil
+                    ]
+                ]
+        )
+
+        verifyEntitlementActive()
+    }
+
+    func testInactiveSubscription() {
+        stubResponse(
+                entitlements: [
+                    "pro_cat": [
                         "expires_date": "2000-07-26T23:50:40Z",
+                        "product_identifier": "monthly_freetrial",
+                        "purchase_date": "1999-07-26T23:30:41Z"
+                    ]
+                ],
+                subscriptions: [
+                    "monthly_freetrial": [
+                        "billing_issues_detected_at": nil,
+                        "expires_date": "2000-07-26T23:50:40Z",
                         "is_sandbox": false,
                         "original_purchase_date": "1999-07-26T23:30:41Z",
                         "period_type": "normal",

        verifyStore()
        verifySandbox()
        verifyProduct()
        
        verifyEntitlementActive(beTrue(), entitlement: "lifetime_cat")
        verifyRenewal(beTrue(), unsubscribeDetectedAt: beNil(), billingIssueDetectedAt: beNil(), entitlement: "lifetime_cat")
        verifyPeriodType(equal(PeriodType.normal.rawValue), entitlement: "lifetime_cat")

                ]
        )

        verifyEntitlementActive(beFalse())
    }

    func testGetsEmptySubscriberInfo() {
        stubResponse()
        let subscriberInfo = PurchaserInfo(data: response)

        expect(subscriberInfo?.firstSeen).toNot(beNil())
