updated tests to should.js syntax