add simple mocha browser tests