implemented unit testing for web and node.js