var expect = require('chai').expect;
var clarifai = require('../api/clarifai');
var microsoft = require('../api/microsoft');
var caption = require('../api/caption');

// NOTE: These tests will fail if the endpoint response content or structure change in any way
describe('api calls', function() {

  describe('clarifai should return tags', function() {

    it('has an item as the first tag', function(done) {
      clarifai('http://i0.kym-cdn.com/photos/images/facebook/000/011/296/success_baby.jpg')
      .then(function(tags) {
        expect(tags[0]).to.be.a('string');
        done();
      })
      .catch(function(err) {
        done();
      });

    });

  });

  describe('microsoft should return tags', function() {

    it('has an item as the first tag', function(done) {
      this.timeout(5000);
      microsoft('http://i0.kym-cdn.com/photos/images/facebook/000/011/296/success_baby.jpg')
      .then(function(tags) {
        expect(tags[0].name).to.be.a('string');
        done();
      })
      .catch(function(err) {
        expect(err).to.be.null;
        done();
      });

    });

  });

  xdescribe('captioner should return caption: ', function() {
    it('thinks the successkid is on a beach and angry', function(done) {
      this.timeout(5000);
      caption('https://s3-us-west-1.amazonaws.com/invalidmemories/images/02c9dce5-e903-4396-82ea-66f5892a821e-large.jpg', 
        function(err, content) {
          expect(err).to.be.null;
          expect(content).to.be.not.null;
          done();
        });
    });
  });

});
@@ -164,103 +164,8 @@
 );%0A%0A
-// NOTE: These tests will fail if the endpoint response content or structure change in any way%0A
 desc
@@ -244,32 +244,121 @@
 , function() %7B%0A%0A
+    // Note: If this test fails, check to see that the Clarifai API token is still valid%0A
     it('has an i
@@ -658,16 +658,111 @@
 %0A  %7D);%0A%0A
+  // Note: If the below test fails, check to see that the Microsoft API tokens are still valid%0A
   descri
@@ -1195,11 +1195,10 @@
 );%0A%0A
+
   
-x
 desc

Tweak tests. All tests are passing