Updated to use mocha's require.