Small client refactor; interpret 202 responses

Fixes #204.
I'd feel more comfortable changing this in a separate PR. I don't understand testClient well enough to do it quickly.