update browsertests to use mocha