All changed from require to browserify, unit tests now running again