Used should.throw()