tests for server failure retry logic
Merge pull request #129 from ianshward/single-retry-tests

tests for server failure retry logic