Refactor IAM S3 tests.
Added IAM quota check for IAM
Fixed IAM test case errors
Merge pull request #933 from ccassler/tests-refactored-4.0.2

Tests refactored 4.0.2