test node.js full cycle