fixed tests to support Faraday 0.9.0