added spawn test
added spawn.js cli script