       filtered = arr.get('a')
       bValue.push(3)
       filtered.should.become { b: bValue }
+
+    it 'returns an object that is inherited from Q', ->
+      prototypeOfQ = Q.makePromise.prototype
+      x = Z({ a: { b: 1 } }).get('a')
+      prototypeOfQ.isPrototypeOf(x).should.eql true
 
 
 




describe 'Q method', ->

  describe 'get', ->

Q = require 'q'
chai = require 'chai'
jscov = require 'jscov'
chaiAsPromised = require 'chai-as-promised'
