working on fixing tests and adding attachment upload to dropbox