changes to support full workflow for ```nodejs bin/test.js``` test