From 6964914bab64496c789c434fec39d2914231ee23 Mon Sep 17 00:00:00 2001
From: Ryan Graham <r.m.graham@gmail.com>
Date: Tue, 3 May 2016 15:50:21 -0700
Subject: [PATCH] update copyright statements

---
 Gruntfile.js                                                 | 5 +++++
 browser/current-context.js                                   | 5 +++++
 common/models/access-token.js                                | 5 +++++
 common/models/acl.js                                         | 5 +++++
 common/models/application.js                                 | 5 +++++
 common/models/change.js                                      | 5 +++++
 common/models/checkpoint.js                                  | 5 +++++
 common/models/email.js                                       | 5 +++++
 common/models/role-mapping.js                                | 5 +++++
 common/models/role.js                                        | 5 +++++
 common/models/scope.js                                       | 5 +++++
 common/models/user.js                                        | 5 +++++
 example/client-server/client.js                              | 5 +++++
 example/client-server/models.js                              | 5 +++++
 example/client-server/server.js                              | 5 +++++
 example/colors/app.js                                        | 5 +++++
 example/context/app.js                                       | 5 +++++
 example/mobile-models/app.js                                 | 5 +++++
 example/replication/app.js                                   | 5 +++++
 example/simple-data-source/app.js                            | 5 +++++
 index.js                                                     | 5 +++++
 lib/access-context.js                                        | 5 +++++
 lib/application.js                                           | 5 +++++
 lib/browser-express.js                                       | 5 +++++
 lib/builtin-models.js                                        | 5 +++++
 lib/connectors/base-connector.js                             | 5 +++++
 lib/connectors/mail.js                                       | 5 +++++
 lib/connectors/memory.js                                     | 5 +++++
 lib/express-middleware.js                                    | 5 +++++
 lib/loopback.js                                              | 5 +++++
 lib/model.js                                                 | 5 +++++
 lib/persisted-model.js                                       | 5 +++++
 lib/registry.js                                              | 5 +++++
 lib/runtime.js                                               | 5 +++++
 lib/server-app.js                                            | 5 +++++
 lib/utils.js                                                 | 5 +++++
 server/current-context.js                                    | 5 +++++
 server/middleware/context.js                                 | 5 +++++
 server/middleware/error-handler.js                           | 5 +++++
 server/middleware/favicon.js                                 | 5 +++++
 server/middleware/rest.js                                    | 5 +++++
 server/middleware/static.js                                  | 5 +++++
 server/middleware/status.js                                  | 5 +++++
 server/middleware/token.js                                   | 5 +++++
 server/middleware/url-not-found.js                           | 5 +++++
 test/access-control.integration.js                           | 5 +++++
 test/access-token.test.js                                    | 5 +++++
 test/acl.test.js                                             | 5 +++++
 test/app.test.js                                             | 5 +++++
 test/change-stream.test.js                                   | 5 +++++
 test/change.test.js                                          | 5 +++++
 test/checkpoint.test.js                                      | 5 +++++
 test/data-source.test.js                                     | 5 +++++
 test/e2e/remote-connector.e2e.js                             | 5 +++++
 test/e2e/replication.e2e.js                                  | 5 +++++
 test/email.test.js                                           | 5 +++++
 test/error-handler.test.js                                   | 5 +++++
 test/fixtures/access-control/server/server.js                | 5 +++++
 test/fixtures/e2e/server/models.js                           | 5 +++++
 test/fixtures/e2e/server/server.js                           | 5 +++++
 .../shared-methods/both-configs-set/common/models/todo.js    | 5 +++++
 .../shared-methods/both-configs-set/server/server.js         | 5 +++++
 .../config-default-false/common/models/todo.js               | 5 +++++
 .../shared-methods/config-default-false/server/server.js     | 5 +++++
 .../shared-methods/config-default-true/common/models/todo.js | 5 +++++
 .../shared-methods/config-default-true/server/server.js      | 5 +++++
 .../config-defined-false/common/models/todo.js               | 5 +++++
 .../shared-methods/config-defined-false/server/server.js     | 5 +++++
 .../shared-methods/config-defined-true/common/models/todo.js | 5 +++++
 .../shared-methods/config-defined-true/server/server.js      | 5 +++++
 .../model-config-default-false/common/models/todo.js         | 5 +++++
 .../model-config-default-false/server/server.js              | 5 +++++
 .../model-config-default-true/common/models/todo.js          | 5 +++++
 .../model-config-default-true/server/server.js               | 5 +++++
 .../model-config-defined-false/common/models/todo.js         | 5 +++++
 .../model-config-defined-false/server/server.js              | 5 +++++
 .../model-config-defined-true/common/models/todo.js          | 5 +++++
 .../model-config-defined-true/server/server.js               | 5 +++++
 test/fixtures/simple-app/boot/foo.js                         | 5 +++++
 test/fixtures/simple-app/common/models/bar.js                | 5 +++++
 test/fixtures/simple-integration-app/server/server.js        | 5 +++++
 test/fixtures/user-integration-app/server/server.js          | 5 +++++
 test/geo-point.test.js                                       | 5 +++++
 test/helpers/loopback-testing-helper.js                      | 5 +++++
 test/hidden-properties.test.js                               | 5 +++++
 test/integration.test.js                                     | 5 +++++
 test/karma.conf.js                                           | 5 +++++
 test/loopback.test.js                                        | 5 +++++
 test/memory.test.js                                          | 5 +++++
 test/model.application.test.js                               | 5 +++++
 test/model.test.js                                           | 5 +++++
 test/registries.test.js                                      | 5 +++++
 test/relations.integration.js                                | 5 +++++
 test/remote-connector.test.js                                | 5 +++++
 test/remoting-coercion.test.js                               | 5 +++++
 test/remoting.integration.js                                 | 5 +++++
 test/replication.rest.test.js                                | 5 +++++
 test/replication.test.js                                     | 5 +++++
 test/rest.middleware.test.js                                 | 5 +++++
 test/role.test.js                                            | 5 +++++
 test/support.js                                              | 5 +++++
 test/user.integration.js                                     | 5 +++++
 test/user.test.js                                            | 5 +++++
 test/util/describe.js                                        | 5 +++++
 test/util/it.js                                              | 5 +++++
 test/util/model-tests.js                                     | 5 +++++
 106 files changed, 530 insertions(+)

diff --git a/Gruntfile.js b/Gruntfile.js
index 068ab36f..06872ee3 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*global module:false*/
 module.exports = function(grunt) {
   // Do not report warnings from unit-tests exercising deprecated paths
diff --git a/browser/current-context.js b/browser/current-context.js
index cdf1d8a2..5a495cbd 100644
--- a/browser/current-context.js
+++ b/browser/current-context.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(loopback) {
   loopback.getCurrentContext = function() {
     return null;
diff --git a/common/models/access-token.js b/common/models/access-token.js
index 3c66c939..f2e395d9 100644
--- a/common/models/access-token.js
+++ b/common/models/access-token.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module Dependencies.
  */
diff --git a/common/models/acl.js b/common/models/acl.js
index 60af1a70..f6303f3c 100644
--- a/common/models/acl.js
+++ b/common/models/acl.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  Schema ACL options
 
diff --git a/common/models/application.js b/common/models/application.js
index 75204f9f..901251fe 100644
--- a/common/models/application.js
+++ b/common/models/application.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var utils = require('../../lib/utils');
 
diff --git a/common/models/change.js b/common/models/change.js
index 8ef6064a..d647f2be 100644
--- a/common/models/change.js
+++ b/common/models/change.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module Dependencies.
  */
diff --git a/common/models/checkpoint.js b/common/models/checkpoint.js
index 45eb65d0..7620a341 100644
--- a/common/models/checkpoint.js
+++ b/common/models/checkpoint.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Module Dependencies.
  */
diff --git a/common/models/email.js b/common/models/email.js
index f69eaf47..f292becc 100644
--- a/common/models/email.js
+++ b/common/models/email.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Email model.  Extends LoopBack base [Model](#model-new-model).
  * @property {String} to Email addressee.  Required.
diff --git a/common/models/role-mapping.js b/common/models/role-mapping.js
index ee728483..cabd298c 100644
--- a/common/models/role-mapping.js
+++ b/common/models/role-mapping.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../lib/loopback');
 
 /**
diff --git a/common/models/role.js b/common/models/role.js
index 988d8a79..a9c6c008 100644
--- a/common/models/role.js
+++ b/common/models/role.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../lib/loopback');
 var debug = require('debug')('loopback:security:role');
 var assert = require('assert');
diff --git a/common/models/scope.js b/common/models/scope.js
index 5509d9bc..fd939369 100644
--- a/common/models/scope.js
+++ b/common/models/scope.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var loopback = require('../../lib/loopback');
 
diff --git a/common/models/user.js b/common/models/user.js
index 2889bbd1..6e303eb4 100644
--- a/common/models/user.js
+++ b/common/models/user.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module Dependencies.
  */
diff --git a/example/client-server/client.js b/example/client-server/client.js
index df8c451b..b110af08 100644
--- a/example/client-server/client.js
+++ b/example/client-server/client.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var client = loopback();
 var CartItem = require('./models').CartItem;
diff --git a/example/client-server/models.js b/example/client-server/models.js
index b1ac634f..978c3dfa 100644
--- a/example/client-server/models.js
+++ b/example/client-server/models.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 
 var CartItem = exports.CartItem = loopback.PersistedModel.extend('CartItem', {
diff --git a/example/client-server/server.js b/example/client-server/server.js
index 5e9bf17e..9bad9eb6 100644
--- a/example/client-server/server.js
+++ b/example/client-server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var server = module.exports = loopback();
 var CartItem = require('./models').CartItem;
diff --git a/example/colors/app.js b/example/colors/app.js
index f43ab366..cc6b0708 100644
--- a/example/colors/app.js
+++ b/example/colors/app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var app = loopback();
 
diff --git a/example/context/app.js b/example/context/app.js
index 1ae5d6c7..a99a94c2 100644
--- a/example/context/app.js
+++ b/example/context/app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var app = loopback();
 
diff --git a/example/mobile-models/app.js b/example/mobile-models/app.js
index bfb7e245..d71d6dc7 100644
--- a/example/mobile-models/app.js
+++ b/example/mobile-models/app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var models = require('../../lib/models');
 
 var loopback = require('../../');
diff --git a/example/replication/app.js b/example/replication/app.js
index 98d0f2f6..69c64183 100644
--- a/example/replication/app.js
+++ b/example/replication/app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var app = loopback();
 var db = app.dataSource('db', { connector: loopback.Memory });
diff --git a/example/simple-data-source/app.js b/example/simple-data-source/app.js
index f0a8c135..28bbad5c 100644
--- a/example/simple-data-source/app.js
+++ b/example/simple-data-source/app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 var app = loopback();
 
diff --git a/index.js b/index.js
index 2209e642..b7ce6392 100644
--- a/index.js
+++ b/index.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * loopback ~ public api
  */
diff --git a/lib/access-context.js b/lib/access-context.js
index cb606f5d..5cbfa911 100644
--- a/lib/access-context.js
+++ b/lib/access-context.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var loopback = require('./loopback');
 var debug = require('debug')('loopback:security:access-context');
diff --git a/lib/application.js b/lib/application.js
index a98bd331..97b11f9e 100644
--- a/lib/application.js
+++ b/lib/application.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module dependencies.
  */
diff --git a/lib/browser-express.js b/lib/browser-express.js
index 2a7dbe91..b37647c0 100644
--- a/lib/browser-express.js
+++ b/lib/browser-express.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var EventEmitter = require('events').EventEmitter;
 var util = require('util');
 
diff --git a/lib/builtin-models.js b/lib/builtin-models.js
index 69e986af..e484e7d2 100644
--- a/lib/builtin-models.js
+++ b/lib/builtin-models.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(registry) {
   // NOTE(bajtos) we must use static require() due to browserify limitations
 
diff --git a/lib/connectors/base-connector.js b/lib/connectors/base-connector.js
index c1e37b7b..3771a334 100644
--- a/lib/connectors/base-connector.js
+++ b/lib/connectors/base-connector.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Expose `Connector`.
  */
diff --git a/lib/connectors/mail.js b/lib/connectors/mail.js
index d4b01939..3c8941eb 100644
--- a/lib/connectors/mail.js
+++ b/lib/connectors/mail.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Dependencies.
  */
diff --git a/lib/connectors/memory.js b/lib/connectors/memory.js
index 6a34417c..c5bfcc11 100644
--- a/lib/connectors/memory.js
+++ b/lib/connectors/memory.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Expose `Memory`.
  */
diff --git a/lib/express-middleware.js b/lib/express-middleware.js
index a27a7daf..15a22410 100644
--- a/lib/express-middleware.js
+++ b/lib/express-middleware.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var path = require('path');
 
 var middlewares = exports;
diff --git a/lib/loopback.js b/lib/loopback.js
index 56250edb..386551bc 100644
--- a/lib/loopback.js
+++ b/lib/loopback.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module dependencies.
  */
diff --git a/lib/model.js b/lib/model.js
index 0c0a78d7..15e98b7b 100644
--- a/lib/model.js
+++ b/lib/model.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module Dependencies.
  */
diff --git a/lib/persisted-model.js b/lib/persisted-model.js
index 1ea8eaa4..c27cd279 100644
--- a/lib/persisted-model.js
+++ b/lib/persisted-model.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module Dependencies.
  */
diff --git a/lib/registry.js b/lib/registry.js
index fad30f10..a50a6e8a 100644
--- a/lib/registry.js
+++ b/lib/registry.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var extend = require('util')._extend;
 var juggler = require('loopback-datasource-juggler');
diff --git a/lib/runtime.js b/lib/runtime.js
index 7e791f5b..fa029ada 100644
--- a/lib/runtime.js
+++ b/lib/runtime.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*
  * This is an internal file that should not be used outside of loopback.
  * All exported entities can be accessed via the `loopback` object.
diff --git a/lib/server-app.js b/lib/server-app.js
index 6ef92270..f17ba5ef 100644
--- a/lib/server-app.js
+++ b/lib/server-app.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var express = require('express');
 var merge = require('util')._extend;
diff --git a/lib/utils.js b/lib/utils.js
index 09800384..68db88af 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 exports.createPromiseCallback = createPromiseCallback;
 var Promise = require('bluebird');
 
diff --git a/server/current-context.js b/server/current-context.js
index 8ee4cb3b..5bf87030 100644
--- a/server/current-context.js
+++ b/server/current-context.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var juggler = require('loopback-datasource-juggler');
 var remoting = require('strong-remoting');
 var cls = require('continuation-local-storage');
diff --git a/server/middleware/context.js b/server/middleware/context.js
index 274f6f1d..78cba8ed 100644
--- a/server/middleware/context.js
+++ b/server/middleware/context.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../lib/loopback');
 
 module.exports = context;
diff --git a/server/middleware/error-handler.js b/server/middleware/error-handler.js
index c549944b..7ca8d761 100644
--- a/server/middleware/error-handler.js
+++ b/server/middleware/error-handler.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var expressErrorHandler = require('errorhandler');
 expressErrorHandler.title = 'Loopback';
 
diff --git a/server/middleware/favicon.js b/server/middleware/favicon.js
index d2e1fa40..c694009a 100644
--- a/server/middleware/favicon.js
+++ b/server/middleware/favicon.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Serve the LoopBack favicon.
  * @header loopback.favicon()
diff --git a/server/middleware/rest.js b/server/middleware/rest.js
index 9c7e23a2..6c03e6d3 100644
--- a/server/middleware/rest.js
+++ b/server/middleware/rest.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module dependencies.
  */
diff --git a/server/middleware/static.js b/server/middleware/static.js
index c01a538d..a0986579 100644
--- a/server/middleware/static.js
+++ b/server/middleware/static.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * Serve static assets of a LoopBack application.
  *
diff --git a/server/middleware/status.js b/server/middleware/status.js
index 6df2c2f3..9c7ac480 100644
--- a/server/middleware/status.js
+++ b/server/middleware/status.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Export the middleware.
  */
diff --git a/server/middleware/token.js b/server/middleware/token.js
index 146c75d1..b5038df2 100644
--- a/server/middleware/token.js
+++ b/server/middleware/token.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Module dependencies.
  */
diff --git a/server/middleware/url-not-found.js b/server/middleware/url-not-found.js
index dd696d79..7ba4dbea 100644
--- a/server/middleware/url-not-found.js
+++ b/server/middleware/url-not-found.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /*!
  * Export the middleware.
  * See discussion in Connect pull request #954 for more details
diff --git a/test/access-control.integration.js b/test/access-control.integration.js
index 3f6107c8..feede70f 100644
--- a/test/access-control.integration.js
+++ b/test/access-control.integration.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var lt = require('./helpers/loopback-testing-helper');
 var path = require('path');
diff --git a/test/access-token.test.js b/test/access-token.test.js
index 17a9d481..051cc94c 100644
--- a/test/access-token.test.js
+++ b/test/access-token.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var extend = require('util')._extend;
 var Token = loopback.AccessToken.extend('MyToken');
diff --git a/test/acl.test.js b/test/acl.test.js
index ebe0ffb9..63fa1637 100644
--- a/test/acl.test.js
+++ b/test/acl.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var loopback = require('../index');
 var Scope = loopback.Scope;
diff --git a/test/app.test.js b/test/app.test.js
index 04bf6cb3..7de8f962 100644
--- a/test/app.test.js
+++ b/test/app.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var path = require('path');
 
diff --git a/test/change-stream.test.js b/test/change-stream.test.js
index 9f2390fa..e3495b06 100644
--- a/test/change-stream.test.js
+++ b/test/change-stream.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 describe('PersistedModel.createChangeStream()', function() {
   describe('configured to source changes locally', function() {
     before(function() {
diff --git a/test/change.test.js b/test/change.test.js
index 9be1b51c..dbe6b500 100644
--- a/test/change.test.js
+++ b/test/change.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var expect = require('chai').expect;
 
diff --git a/test/checkpoint.test.js b/test/checkpoint.test.js
index b3959007..fa9ce148 100644
--- a/test/checkpoint.test.js
+++ b/test/checkpoint.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var loopback = require('../');
 var expect = require('chai').expect;
diff --git a/test/data-source.test.js b/test/data-source.test.js
index 5d7384c8..de4c9447 100644
--- a/test/data-source.test.js
+++ b/test/data-source.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 describe('DataSource', function() {
   var memory;
 
diff --git a/test/e2e/remote-connector.e2e.js b/test/e2e/remote-connector.e2e.js
index 15ae6896..eb75f644 100644
--- a/test/e2e/remote-connector.e2e.js
+++ b/test/e2e/remote-connector.e2e.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var path = require('path');
 var loopback = require('../../');
 var models = require('../fixtures/e2e/models');
diff --git a/test/e2e/replication.e2e.js b/test/e2e/replication.e2e.js
index 87fbfd5c..339fc879 100644
--- a/test/e2e/replication.e2e.js
+++ b/test/e2e/replication.e2e.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var path = require('path');
 var loopback = require('../../');
 var models = require('../fixtures/e2e/models');
diff --git a/test/email.test.js b/test/email.test.js
index 04089dee..31ab80bf 100644
--- a/test/email.test.js
+++ b/test/email.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var MyEmail;
 var assert = require('assert');
diff --git a/test/error-handler.test.js b/test/error-handler.test.js
index b5956614..45484182 100644
--- a/test/error-handler.test.js
+++ b/test/error-handler.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var app;
 var assert = require('assert');
diff --git a/test/fixtures/access-control/server/server.js b/test/fixtures/access-control/server/server.js
index a151ee25..be73ed5b 100644
--- a/test/fixtures/access-control/server/server.js
+++ b/test/fixtures/access-control/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../../..');
 var boot = require('loopback-boot');
 var app = module.exports = loopback();
diff --git a/test/fixtures/e2e/server/models.js b/test/fixtures/e2e/server/models.js
index 5e6c235d..d9788fb7 100644
--- a/test/fixtures/e2e/server/models.js
+++ b/test/fixtures/e2e/server/models.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../../../index');
 var PersistedModel = loopback.PersistedModel;
 
diff --git a/test/fixtures/e2e/server/server.js b/test/fixtures/e2e/server/server.js
index bd8a9411..39f53d57 100644
--- a/test/fixtures/e2e/server/server.js
+++ b/test/fixtures/e2e/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../../../index');
 var app = module.exports = loopback();
 var models = require('./models');
diff --git a/test/fixtures/shared-methods/both-configs-set/common/models/todo.js b/test/fixtures/shared-methods/both-configs-set/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/both-configs-set/common/models/todo.js
+++ b/test/fixtures/shared-methods/both-configs-set/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/both-configs-set/server/server.js b/test/fixtures/shared-methods/both-configs-set/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/both-configs-set/server/server.js
+++ b/test/fixtures/shared-methods/both-configs-set/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/config-default-false/common/models/todo.js b/test/fixtures/shared-methods/config-default-false/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/config-default-false/common/models/todo.js
+++ b/test/fixtures/shared-methods/config-default-false/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/config-default-false/server/server.js b/test/fixtures/shared-methods/config-default-false/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/config-default-false/server/server.js
+++ b/test/fixtures/shared-methods/config-default-false/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/config-default-true/common/models/todo.js b/test/fixtures/shared-methods/config-default-true/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/config-default-true/common/models/todo.js
+++ b/test/fixtures/shared-methods/config-default-true/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/config-default-true/server/server.js b/test/fixtures/shared-methods/config-default-true/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/config-default-true/server/server.js
+++ b/test/fixtures/shared-methods/config-default-true/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/config-defined-false/common/models/todo.js b/test/fixtures/shared-methods/config-defined-false/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/config-defined-false/common/models/todo.js
+++ b/test/fixtures/shared-methods/config-defined-false/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/config-defined-false/server/server.js b/test/fixtures/shared-methods/config-defined-false/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/config-defined-false/server/server.js
+++ b/test/fixtures/shared-methods/config-defined-false/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/config-defined-true/common/models/todo.js b/test/fixtures/shared-methods/config-defined-true/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/config-defined-true/common/models/todo.js
+++ b/test/fixtures/shared-methods/config-defined-true/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/config-defined-true/server/server.js b/test/fixtures/shared-methods/config-defined-true/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/config-defined-true/server/server.js
+++ b/test/fixtures/shared-methods/config-defined-true/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/model-config-default-false/common/models/todo.js b/test/fixtures/shared-methods/model-config-default-false/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/model-config-default-false/common/models/todo.js
+++ b/test/fixtures/shared-methods/model-config-default-false/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/model-config-default-false/server/server.js b/test/fixtures/shared-methods/model-config-default-false/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/model-config-default-false/server/server.js
+++ b/test/fixtures/shared-methods/model-config-default-false/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/model-config-default-true/common/models/todo.js b/test/fixtures/shared-methods/model-config-default-true/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/model-config-default-true/common/models/todo.js
+++ b/test/fixtures/shared-methods/model-config-default-true/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/model-config-default-true/server/server.js b/test/fixtures/shared-methods/model-config-default-true/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/model-config-default-true/server/server.js
+++ b/test/fixtures/shared-methods/model-config-default-true/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/model-config-defined-false/common/models/todo.js b/test/fixtures/shared-methods/model-config-defined-false/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/model-config-defined-false/common/models/todo.js
+++ b/test/fixtures/shared-methods/model-config-defined-false/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/model-config-defined-false/server/server.js b/test/fixtures/shared-methods/model-config-defined-false/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/model-config-defined-false/server/server.js
+++ b/test/fixtures/shared-methods/model-config-defined-false/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/shared-methods/model-config-defined-true/common/models/todo.js b/test/fixtures/shared-methods/model-config-defined-true/common/models/todo.js
index 43ab55fb..44653ef4 100644
--- a/test/fixtures/shared-methods/model-config-defined-true/common/models/todo.js
+++ b/test/fixtures/shared-methods/model-config-defined-true/common/models/todo.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Todo) {
 
 };
diff --git a/test/fixtures/shared-methods/model-config-defined-true/server/server.js b/test/fixtures/shared-methods/model-config-defined-true/server/server.js
index 7876752e..064f8556 100644
--- a/test/fixtures/shared-methods/model-config-defined-true/server/server.js
+++ b/test/fixtures/shared-methods/model-config-defined-true/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var boot = require('loopback-boot');
 var loopback = require('../../../../../index');
 
diff --git a/test/fixtures/simple-app/boot/foo.js b/test/fixtures/simple-app/boot/foo.js
index 7e748634..c08b3ccd 100644
--- a/test/fixtures/simple-app/boot/foo.js
+++ b/test/fixtures/simple-app/boot/foo.js
@@ -1 +1,6 @@
+// Copyright IBM Corp. 2013. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 process.loadedFooJS = true;
diff --git a/test/fixtures/simple-app/common/models/bar.js b/test/fixtures/simple-app/common/models/bar.js
index 10a3d968..9fbd3ae6 100644
--- a/test/fixtures/simple-app/common/models/bar.js
+++ b/test/fixtures/simple-app/common/models/bar.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 module.exports = function(Bar) {
   process.loadedBarJS = true;
 };
diff --git a/test/fixtures/simple-integration-app/server/server.js b/test/fixtures/simple-integration-app/server/server.js
index d3f1c09c..e6e379c0 100644
--- a/test/fixtures/simple-integration-app/server/server.js
+++ b/test/fixtures/simple-integration-app/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../../../index');
 var boot = require('loopback-boot');
 var app = module.exports = loopback();
diff --git a/test/fixtures/user-integration-app/server/server.js b/test/fixtures/user-integration-app/server/server.js
index aaed9050..a28bbaf6 100644
--- a/test/fixtures/user-integration-app/server/server.js
+++ b/test/fixtures/user-integration-app/server/server.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../../../index');
 var boot = require('loopback-boot');
 var app = module.exports = loopback();
diff --git a/test/geo-point.test.js b/test/geo-point.test.js
index f992e2a0..247c7314 100644
--- a/test/geo-point.test.js
+++ b/test/geo-point.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 describe('GeoPoint', function() {
   describe('geoPoint.distanceTo(geoPoint, options)', function() {
     it('Get the distance to another `GeoPoint`', function() {
diff --git a/test/helpers/loopback-testing-helper.js b/test/helpers/loopback-testing-helper.js
index fdcf189a..065070a8 100644
--- a/test/helpers/loopback-testing-helper.js
+++ b/test/helpers/loopback-testing-helper.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var _describe = {};
 var _it = {};
 var _beforeEach = {};
diff --git a/test/hidden-properties.test.js b/test/hidden-properties.test.js
index a32db105..e5427d96 100644
--- a/test/hidden-properties.test.js
+++ b/test/hidden-properties.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 
 describe('hidden properties', function() {
diff --git a/test/integration.test.js b/test/integration.test.js
index 2cceb01d..cfdd12b2 100644
--- a/test/integration.test.js
+++ b/test/integration.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var net = require('net');
 describe('loopback application', function() {
   it('pauses request stream during authentication', function(done) {
diff --git a/test/karma.conf.js b/test/karma.conf.js
index c1710fe7..b4e5df07 100644
--- a/test/karma.conf.js
+++ b/test/karma.conf.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 // Karma configuration
 // http://karma-runner.github.io/0.12/config/configuration-file.html
 
diff --git a/test/loopback.test.js b/test/loopback.test.js
index 801531fb..5340bb33 100644
--- a/test/loopback.test.js
+++ b/test/loopback.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var it = require('./util/it');
 var describe = require('./util/describe');
 var Domain = require('domain');
diff --git a/test/memory.test.js b/test/memory.test.js
index 01b47c78..c327c783 100644
--- a/test/memory.test.js
+++ b/test/memory.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 describe('Memory Connector', function() {
   it('Create a model using the memory connector', function(done) {
     // use the built in memory function
diff --git a/test/model.application.test.js b/test/model.application.test.js
index ed606b2a..7c2b3797 100644
--- a/test/model.application.test.js
+++ b/test/model.application.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require(('../'));
 var assert = require('assert');
 var Application = loopback.Application;
diff --git a/test/model.test.js b/test/model.test.js
index 770f75b1..a40b7d7a 100644
--- a/test/model.test.js
+++ b/test/model.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var loopback = require('../');
 var ACL = loopback.ACL;
diff --git a/test/registries.test.js b/test/registries.test.js
index 688af98d..9c03867f 100644
--- a/test/registries.test.js
+++ b/test/registries.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 describe('Registry', function() {
   describe('one per app', function() {
     it('should allow two apps to reuse the same model name', function(done) {
diff --git a/test/relations.integration.js b/test/relations.integration.js
index ef84bd23..2d5e69fd 100644
--- a/test/relations.integration.js
+++ b/test/relations.integration.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var lt = require('./helpers/loopback-testing-helper');
 var path = require('path');
diff --git a/test/remote-connector.test.js b/test/remote-connector.test.js
index 5e241b1a..8e7ff48e 100644
--- a/test/remote-connector.test.js
+++ b/test/remote-connector.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var defineModelTestsWithDataSource = require('./util/model-tests');
 
diff --git a/test/remoting-coercion.test.js b/test/remoting-coercion.test.js
index 1b06d77d..603f7b9d 100644
--- a/test/remoting-coercion.test.js
+++ b/test/remoting-coercion.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var request = require('supertest');
 
diff --git a/test/remoting.integration.js b/test/remoting.integration.js
index 646fc923..f77f1fe2 100644
--- a/test/remoting.integration.js
+++ b/test/remoting.integration.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var lt = require('./helpers/loopback-testing-helper');
 var path = require('path');
diff --git a/test/replication.rest.test.js b/test/replication.rest.test.js
index e6794cb1..6e8dd8f9 100644
--- a/test/replication.rest.test.js
+++ b/test/replication.rest.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var debug = require('debug')('test');
 var extend = require('util')._extend;
diff --git a/test/replication.test.js b/test/replication.test.js
index c12d0249..5ce7107f 100644
--- a/test/replication.test.js
+++ b/test/replication.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var async = require('async');
 var loopback = require('../');
diff --git a/test/rest.middleware.test.js b/test/rest.middleware.test.js
index 3de92301..dbabae93 100644
--- a/test/rest.middleware.test.js
+++ b/test/rest.middleware.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var path = require('path');
 
 describe('loopback.rest', function() {
diff --git a/test/role.test.js b/test/role.test.js
index 36a18af5..5d308090 100644
--- a/test/role.test.js
+++ b/test/role.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var assert = require('assert');
 var sinon = require('sinon');
 var loopback = require('../index');
diff --git a/test/support.js b/test/support.js
index d7f4f0c1..01ee765f 100644
--- a/test/support.js
+++ b/test/support.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 /**
  * loopback test setup and support.
  */
diff --git a/test/user.integration.js b/test/user.integration.js
index 0f502f85..8e5abdbf 100644
--- a/test/user.integration.js
+++ b/test/user.integration.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2015,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../');
 var lt = require('./helpers/loopback-testing-helper');
 var path = require('path');
diff --git a/test/user.test.js b/test/user.test.js
index adbc6ea7..949b8e1f 100644
--- a/test/user.test.js
+++ b/test/user.test.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2013,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 require('./support');
 var loopback = require('../');
 var User, AccessToken;
diff --git a/test/util/describe.js b/test/util/describe.js
index db712113..214a4270 100644
--- a/test/util/describe.js
+++ b/test/util/describe.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 
 module.exports = describe;
diff --git a/test/util/it.js b/test/util/it.js
index f1b004e2..7ca2e55b 100644
--- a/test/util/it.js
+++ b/test/util/it.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var loopback = require('../../');
 
 module.exports = it;
diff --git a/test/util/model-tests.js b/test/util/model-tests.js
index f86fcdf6..c770e22d 100644
--- a/test/util/model-tests.js
+++ b/test/util/model-tests.js
@@ -1,3 +1,8 @@
+// Copyright IBM Corp. 2014,2016. All Rights Reserved.
+// Node module: loopback
+// This file is licensed under the MIT License.
+// License text available at https://opensource.org/licenses/MIT
+
 var async = require('async');
 var describe = require('./describe');
 var loopback = require('../../');