add proper testing setup and browserify