Finished api tests for client.