added unit tests for Node and fixed bugs found in the process
some __init__ file