Fix SQS tests in Python 3.3