Refactored testing for EC2.
Merge pull request #25 from JDong-rmn/EOPS-6294

Refactored EC2 tests to follow module structure for better coverage and flexibility.
Fix linting errors in sqs.py
Merge pull request #28 from slank/EOPS-6358

Fix linting errors in sqs.py