Fix issue with expand after read that causes tail to be set incorrectly.  Add test to prevent regression.  Add buffer-equality method to specs.js to avoid dependency on node-gyp-compiled buffertools package.