               # Stat is not available in the browser due to CORS restrictions.
               expect(stat).to.be.instanceOf Dropbox.Stat
               expect(stat.path).to.equal @newFile
+              expect(stat.isRemoved).to.equal false
             done()
 
   describe 'findByName', ->


    it 'reads the image into a Blob', (done) ->
      return done() unless Blob?
      @timeout 4 * 1000  # Thumbnail generation is slow.
      options = { png: true, blob: true }
      @client.readThumbnail @imageFile, options, (error, blob, stat) =>
        expect(error).to.equal undefined

        @client.revertFile @newFile, @versionTag, (error, stat) =>
          expect(error).to.equal undefined
          expect(stat).to.be.instanceOf Dropbox.Stat
          expect(stat.path).to.equal @newFile
          expect(stat.isRemoved).to.equal false
          @client.readFile @newFile, (error, data, stat) =>
            expect(error).to.equal undefined
            expect(data).to.equal @textFileData
