Made the check for missing values actually take the value into account, not just the existance of a key.
Checks for missing parameters are now done on each call to the API related functions rather than on instantiation.
The api key parameter is now actually sent on each request.
Tests now stop when one test fails.
Tests now check for existance of required apikey header.
Reduced poll interval to improve test speed.
Fixed bugs when checking for undefined fields
Added test to check validation on connect.