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.
These statements could be factored-out into a single "testWeatherData" function. Then you could call that test function from each test. Your actual test statements look to be the same so don't repeat code unnecessarily.