Improves testing

o Adds new tests for get attachments #34
o Adds test helpers that can be sourced into test files
  to create certain conditions for testing.