Elementary unit tests for python.js

The tests can be read via node.js from the commandline. Unittest is
currently not being used because it is one of the modules that is
not working.