add tests for util.isBuffer
fix util.isBuffer to work in browserify 3.x