Using should.not.exist instead of comparing with undefined