Bugfixes for unittest in node.py. New script for fun.