Added more tests for upload file formats. It's far from bullet proof but enough for now, just a basic sanity check