Introduce DoRequest params.
s/expectCode/expectStatus/ in tests.