old_contents: 'use strict';
  
  const TwitterService = require('./twitterService');
  const assert = require('chai').assert;
  const _ = require('lodash');
  
  suite('Candidate API tests', function () {
    let service;
  
    before((done) => {
      service = new TwitterService();
      service.start(done);
    });
    beforeEach(() => {
      service.clearDB();
    });
    after(() => {
      service.stop();
    });
  
    test('sample api endpoint responds with 200 and data', () => {
      const expectedResult = { key: 'value' };
  
      return service.getAPISample().then((res) => {
        assert.equal(res.statusCode, 200);
        assert.deepEqual(res.result, expectedResult);
      });
    });
  
    test('sample static endpoint responds with 200 and template', () => {
      return service.getStaticSample().then((res) => {
        assert.equal(res.statusCode, 200);
        assert.include(res.payload, 'hare your thoughts with this innovative twitter clone!');
      });
    });
  });
  
new_contents: 'use strict';
  
  const TwitterService = require('./twitterService');
  const assert = require('chai').assert;
  const _ = require('lodash');
  
  suite('Sample tests', function () {
    let service;
  
    before((done) => {
      service = new TwitterService();
      service.start(done);
    });
    beforeEach(() => {
      service.clearDB();
    });
    after(() => {
      service.stop();
    });
  
    test('sample api endpoint responds with 200 and data', () => {
      const expectedResult = { key: 'value' };
  
      return service.getAPISample().then((res) => {
        assert.equal(res.statusCode, 200);
        assert.deepEqual(res.result, expectedResult);
      });
    });
  
    test('sample static endpoint responds with 200 and template', () => {
      return service.getStaticSample().then((res) => {
        assert.equal(res.statusCode, 200);
        assert.include(res.payload, 'hare your thoughts with this innovative twitter clone!');
      });
    });
  });
  
subject: Fix typo in sample test