<commit_before>var mockAws = {
	S3: function(){
		return {
			createBucket: function(params, callback){
				callback(null, "test");
			},
			listObjectsV2: function (params, callback) {
				callback(null, "test");
			},
			getSignedUrl: function (params, callback) {
				callback(null, "test");
			},
			headObject: function (params, callback) {
				callback(null, "test");
			},<commit_msg>improve test coverage for fileStorage<commit_after>const testListObjectsReturn = {
	Contents: [
		{key: "testFile"}
	]
};

const testHeadObjectReturn = {
	Metadata: { name: "testName", thumbnail: "testThumbnail" },
	LastModified: "test",
	ContentLength: 5,
	ContentType: "mime/image"
};

var mockAws = {
	S3: function(){
		return {
			createBucket: function(params, callback){
				callback(null, "test");
			},
			listObjectsV2: function (params, callback) {
				callback(null, testListObjectsReturn);
			},
			getSignedUrl: function (params, callback) {
				callback(null, "test");
			},
			headObject: function (params, callback) {
				callback(null, testHeadObjectReturn);
			},
{'fraction_non_alphanumeric': 0.146455223880597, 'fraction_numerical': 0.0046641791044776115, 'mean_word_length': 4.259803921568627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7137425', 'n_tokens_mistral': 406, 'n_tokens_neox': 342, 'n_words': 78}