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.
"it warns the user when the input payload has invalid lat or lon values"