Test for upload and destroy of raw file