Updated client to v1_0 of API and added test cases