fix test require so browserify works for testling