Add Test Suite

Hi there,

I plan to add handling of the ```HTTP 429 Too Many Requests``` error, but felt safer attacking that problem with a test suite in place.

So, here 'tis.

Gavin.