Update for use in testing. Mocha needs updating now...