template: updates sample README.md according to the typo styles of node.js APIs; updates sample test cases; fixes #13