S3 tests - removed binary file and added logic for creating it on the fly