test(S3 utils): #897 - unit tests