add aws optional dependency, fixes s3 test