Update tests to use mocha in an HTML page... because karma-requirejs was misbehaving: see https://github.com/karma-runner/karma/issues/513