test(bro): refactor test cases
test(bro): refactor test cases

* use less browserify internals
* factor out TestPlugin into own constructor

Nikku/karma-browserify,pmowrer/karma-browserify,sdtsui/karma-browserify