removed buffertools dependency and switched to plain node Buffer API
add additional testcase