Ported some more stuff to Mocha + Chai.