Small changes to fully support node. Automatic test cases for node. Version 0.1.2.