added basic mocha tests
added some additonal browser tests