fix env to be more in line with standards
add temp file to upload file test