updated shell tests, added node.js scripts for testing