e) {
              //Verify the final state:  statusKnown = false and user is null
              expect(dynamicAuth.statusKnown).to.be.equal(true);
              expect(dynamicAuth.user.uid).to.be.ok;
              expect(dynamicAuth.user.email).to.be.equal(email);
              done();
            } else {
              expect(dynamicAuth.statusKnown).to.be.equal(false);
            }
          });
        });
      });


      test('failed promises should be forwarded', function() {
        expect(authEle