Added InfrastructureApi unit tests

Same comment. You are verifying the request path and the request headers, but you are not checking that the client is generating the expected body.