it('400 if template is undefined', function(done) {
    request(api)
    .get('/collections/data_examples/templates/index')
    .set('x-authorization-token', configs.authToken)
    .expect(400, done);