Update the tests
Generalize the url_for BuildError handler
Tests for uploading file
Refactor unit tests for uploader