Added weather tests and minor bugfixes

Added unit tests for the nodes, getting the coverage up to 97% for this node. Also fixed tiny discrepancies and removed old code.