Learning node.js with  basic tests