Added InfrastructureApi unit tests

This is not the right type for a list of devices.