Updated client for v1_0 of API. Added test cases. Updated setup.py to run tests.