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.
More than good practice, it is absolutely required as you don't know what other tests may subsequently try to use something you've stubbed.