work with browserify
use tape for tests