docs: added tests to node examples

Added test examples so the benefits of di.js are clearer
Merge pull request #33 from dickeyxxx/docs/node-example

improved node example with tests