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's good practice to reset your stubs when they're finished with. Use stub.restore() where stub is the var returned by sinon.stub.