Fixing unit tests for cloud-iam