Refactor tests for #update methods in client.
Refactor tests for #delete methods in client.