Add tests based on node-dsp