Added initial implementation of integration tests for a single client and fixed bugs that it found.
Minor cleanup to README and tests.
Refactored out common logic for getting different types of values.