[CB-6296] implemented tests for return interface of create function
diff --git a/spec/create.spec.js b/spec/create.spec.js
index 0b68d14..ec72104 100644
--- a/spec/create.spec.js
+++ b/spec/create.spec.js
@@ -65,6 +65,35 @@
         });
     });
 
+    describe('callback', function() {
+        var promise,
+            callback,
+            flag = false;
+
+        beforeEach(function() {
+            callback = function (err) {
+                flag = true;
+            };
+
+            runs(function(){
+                promise = cordova.raw.create(tempDir, 'org.foo', foobar, {}, callback);
+            });
+
+            waitsFor(function(){
+                return flag;
+            });
+        });
+        
+        it('should return null if a callback parameter is used', function() {
+            expect(promise).toBe(null);
+        });
+
+        it('should call the callback function if callback parameter is used', function() {
+            expect(flag).toBe(true);
+        });
+
+    });
+
     describe('failure', function() {
         it('should return a help message if incorrect number of parameters is used', function(done) {
             this.after(function() {