The test is very simple, it first upload a file with random content and then downloads it back and compare hashes.
as part of this, move also the AWS upload code to the same directory