it('Should respond as registered when there is subscription', async(inject([Notifications, HttpTestingController], (ns: Notifications, backend: HttpTestingController) => {
      permission = {deviceToken: 'device_token', permission: 'granted'};
      ns.isSubscribed().subscribe((result) => {
        expect(result).toBe(true, 'Responded as not registered, when customer is subscribed to push');
      });