Added InfrastructureApi unit tests

Why do you set the type here and not in the other link you configure?