test(diff.js): add buffer diff test