feature/improve-files-endpoint
master
Added some tests, refactored the error handling/logging, and refactored the extension tests.
Moved test helper code to its own module.