Instantiate client in Yaml Runner with proper test host

The curl commands were using the test env variable, but
the client instantiation was not utilizing it.