Adding set of Node.js tests.

Based on the equivalent set of tests currently defined for python.