Add upload specific integration tests
Current back end integration tests run using a setup database, but there are no tests that try to capture edge cases for file uploads.
Integration tests should also fail if the file is malformed or not found rather than hanging.