 
 hash = require('crypto').createHash
 rand = require('crypto').pseudoRandomBytes
-
-S3 = require('aws-sdk').S3
 
 client = listObjects = putObject = null
 cleanup = []

        it 'should set default values', ->
          assert image instanceof Upload.Image
          assert image.config instanceof Upload
          assert.equal image.src, __dirname + 'test/assets/photo.jpg'
          assert.equal image.dest, 'images_test/Wm/PH/f3/I0'
          assert /[a-z0-9]{24}/.test image.tmpName
          assert.deepEqual image.meta, {}
          assert.equal image.gm, null

      describe '#getMeta()', ->
        it 'should store image matadata'
        it 'should store gm image instance'
        it 'should return image metadata'
        it 'should return exif data if returnExif is set to true'

      describe '#resize()', ->
        it 'should return updated properties for original image'

      image = null

      beforeEach ->
        src = __dirname + '/assets/photo.jpg'
        dest = 'images_test/Wm/PH/f3/I0'
        opts = {}

