fixed #297: Test upload file was using image file destination instead file destination