Minor cleanup regarding exception handling in testutils
Merge pull request #339 from hazelcast/feature/334-case-insensitive-enum

Minor cleanup regarding exception handling in testutils