Add tests for proper pre-transcode handling of uploaded files