testing with browserif and mocha/chai in both the browser and on the command.