Use the new mocha require syntax

Teeny tiny patch that ensures that the tests run with the newer versions of mocha.

(Without this you get an obscure undefined local variable or method `mock` error)