Fixed IAM test case errors