         # assert.doesNotThrow
         test.assertResponse(errorStub, responseStub, bodyStub)
 
-    describe 'when response body is null', () ->
-
-      it 'should throw AssertionError', () ->
-
-        errorStub = null
-        responseStub =
-          statusCode : 201
-        bodyStub = null
-        fn = _.partial test.assertResponse, errorStub, responseStub, bodyStub
-        assert.throw fn, chai.AssertionError
-
-    describe 'when response body is invalid json', () ->
-
-      it 'should throw AssertionError', () ->
-
-        errorStub = null
-        responseStub =
-          statusCode : 201
-        bodyStub = 'Im invalid'
-        fn = _.partial test.assertResponse, errorStub, responseStub, bodyStub
-        assert.throw fn, chai.AssertionError
-
+    describe 'when given invalid response', () ->
+      describe 'when response body is null', () ->
+
+        it 'should throw AssertionError', () ->
+
+          errorStub = null
+          responseStub =
+            statusCode : 201
+          bodyStub = null
+          fn = _.partial test.assertResponse, errorStub, responseStub, bodyStub
+          assert.throw fn, chai.AssertionError
+
+      describe 'when response body is invalid JSON', () ->
+
+        it 'should throw AssertionError', () ->
+
+          errorStub = null
+          responseStub =
+            statusCode : 201
+          bodyStub = 'Im invalid'
+          fn = _.partial test.assertResponse, errorStub, responseStub, bodyStub
+          assert.throw fn, chai.AssertionError
+

        assert.isTrue contentTestCalled


    describe 'of test contains params', () ->

      test = ''
      machine = ''

        type:
          type: 'string'
        name:
          type: 'string'
    }

    describe 'when given valid response', () ->

      it 'should pass all asserts', () ->

        errorStub = null
        responseStub =
