Started fixing the unit tests.

The test was written before I had an understanding of how the file
would arrive, so it needs to be rewritten to send a multipart form with
the post rather than the file itself.
Modified a test to debug an excel parse error.