test for spawn.js