Added InfrastructureApi unit tests

Doing the test should be an opportunity to understand how the api client works. Why does this method require a datacenter if it is not used? Remove the datacenter parameter.