change to nan realted calls to support node 10 fixed incorrect tests moved out buffers from worker removed destroy call as was causing seg fault
change to nan realted calls to support node 10 fixed incorrect tests moved out buffers from worker removed destroy call as was causing seg fault