Nope, case class belongs outside of block.
Putting in test startup/shutdown code

To be honest, this should be split out, along with the tests perhaps into a
shared trait used by all tests.
Splitting out tests early

This should help with testing as a 800+ line file with all tests is not ideal
in my opinion. I might rename stuff later on, or clean it up further so that
SQS's SDK tests are also like this.