Race condition mitigation (try #2)

* Merged the one test of the Unsent Message worker (with a possible race condition) into the integration test.
* Moved another test into the integration test file since it talks to SQS.
* Added a few comments