   app = null
   branch = null
   tag = null
+
+  add_files = [
+    { name: "myapp.ipa",   md5: "54e05c292ef585094a12b20818b3f952" },
+    { name: "myapp.plist", md5: "ab1e5d1ed4be9d7cb8376cbf12f85ca8" }
+  ]
 
   beforeEach (done) ->
     user = new User({ name: "zoidberg" })

            done()

  it "should be able to update the md5sum for a file", (done) ->
    add_files = [
      { name: "myapp.ipa",   md5: "54e05c292ef585094a12b20818b3f952" },
      { name: "myapp.plist", md5: "ab1e5d1ed4be9d7cb8376cbf12f85ca8" }
    ]
    updated_file =
      name: "myapp.ipa"
      md5:  "33b42f456cd70aea284ef49d2c4a8652"

    files = branch.files()
    files.save add_files, (err, reply) =>
      files.list (err, reply) =>
        assert.equal err, null
        assert.deepEqual reply, ['myapp.ipa', 'myapp.plist']
        files.save updated_file, (err, reply) =>
          assert.equal err, null
          files.find 'myapp.ipa', (err, reply) =>
            assert.equal err, null
            assert.deepEqual reply, updated_file
            done()

  it "should be able to list all the md5sums for all files", (done) ->
    add_files = [
      { name: "myapp.ipa",   md5: "54e05c292ef585094a12b20818b3f952" },
      { name: "myapp.plist", md5: "ab1e5d1ed4be9d7cb8376cbf12f85ca8" }
    ]
    files = branch.files()
    files.save add_files, (err, reply) =>
      files.all (err, reply) =>

        done()

  it "should be able to remove all files from the files", (done) ->
    files = branch.files()
    files.save add_files, (err, reply) =>
      files.list (err, reply) =>
