Fix mocha deprecations.

Just saw these pop up while running the tests and OCD took over.