diff --git a/appveyor.yml b/appveyor.yml
index afe0ce1da65d8ca0ccbf20901f3af77779336cce..d058363fc01e44a05816b2b42ce963dd0b8e72fb 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -11,3 +11,6 @@ install:
   - ps: Install-Product node $env:nodejs_version $env:platform
   - node -v
   - npm install
+
+test_script:
+  - npm test
diff --git a/package.json b/package.json
index fc518e1481912d896447f4536894672ee4a49361..911f7ba1b8b253155d622658698ac78d9e9c6fa7 100644
--- a/package.json
+++ b/package.json
@@ -23,12 +23,15 @@
     "underscore": "1.8.3"
   },
   "scripts": {
-    "postinstall": "node \"node_modules/bower/bin/bower\" install --allow-root && node \"node_modules/brunch/bin/brunch\" build && node cesium.js && mv cesium public/ && cp misc/cesium.js public/cesium/config.js"
+    "postinstall": "node \"node_modules/bower/bin/bower\" install --allow-root && node \"node_modules/brunch/bin/brunch\" build && node cesium.js && mv cesium public/ && cp misc/cesium.js public/cesium/config.js",
+    "test": "mocha --growl tests/"
   },
   "devDependencies": {
     "adm-zip": "0.4.7",
+    "mocha": "2.2.5",
     "process-nextick-args": "1.0.7",
     "request": "2.31.0",
+    "should": "11.1.0",
     "tmp": "0.0.29",
     "util-deprecate": "1.0.2"
   }
diff --git a/tests/unit_test1.js b/tests/unit_test1.js
new file mode 100644
index 0000000000000000000000000000000000000000..409d30aac0045939e1c8e2df04f6fab72463c987
--- /dev/null
+++ b/tests/unit_test1.js
@@ -0,0 +1,9 @@
+
+const should = require('should');
+
+describe('Some unit test', () => {
+
+  it('should pass', () => {
+    "ABC".should.equal("ABC");
+  })
+});