Don't rely on Buffer global in tests
Merge branch 'no-buffer-in-tests'
1.1.0