Fix for cloud provider tests

Fix for cloud provider tests