temporary workaround for scratch
add test for upload and download