Tests refactored 4.0.2

Modifying/adding IAM tests.  Verified these tests in selenium RC/IDE.