fix tests fail caused by should.js upgrade