     describe 'when body and headers are same in request and response', ->
       before ->
         params =  {
-          req_body_defined:     fixtures.sampleJson,
-          req_headers_defined:  fixtures.sampleHeaders,
-          req_body_real:        fixtures.sampleJson,
-          req_headers_real:     fixtures.sampleHeaders,
-          res_body_defined:     fixtures.sampleJson,
-          res_headers_defined:  fixtures.sampleHeaders,
-          res_body_real:        fixtures.sampleJson,
-          res_headers_real:     fixtures.sampleHeaders
+          reqBodyDefined:     fixtures.sampleJson,
+          reqHeadersDefined:  fixtures.sampleHeaders,
+          reqBodyReal:        fixtures.sampleJson,
+          reqHeadersReal:     fixtures.sampleHeaders,
+          resBodyDefined:     fixtures.sampleJson,
+          resHeadersDefined:  fixtures.sampleHeaders,
+          resBodyReal:        fixtures.sampleJson,
+          resHeadersReal:     fixtures.sampleHeaders
         }
-        hit = get_hit params
+        hit = getHit params
         hitValidation = new HitValidation hit
 
       it "shouldn't set any errors", () ->

    describe 'and lines are missing', ->
      before ->
        params =  {
        req_body_defined:     fixtures.sampleText,
        req_headers_defined:  fixtures.sampleHeaders,
        req_body_real:        fixtures.sampleTextLineMissing,
        req_headers_real:     fixtures.sampleHeaders,

        res_body_defined:     fixtures.sampleText,
        res_headers_defined:  fixtures.sampleHeaders,
        res_body_real:        fixtures.sampleTextLineMissing,
        res_headers_real:     fixtures.sampleHeaders
        }
        hit = get_hit params
        hitValidation = new HitValidation hit

      it "should set errors for body in request and response", () ->

      describe 'when values are different in body and headers', ->
        before ->
          params =  {
            reqBodyDefined:     fixtures.sampleJson,
            reqHeadersDefined:  fixtures.sampleHeaders,
            reqBodyReal:        fixtures.sampleJsonSimpleKeyValueDiffers,
            reqHeadersReal:     fixtures.sampleHeadersDiffers,
            resBodyDefined:     fixtures.sampleJson,
            resHeadersDefined:  fixtures.sampleHeaders,
            resBodyReal:        fixtures.sampleJsonSimpleKeyValueDiffers,
            resHeadersReal:     fixtures.sampleHeadersDiffers
          }
          hit = getHit params
          hitValidation = new HitValidation hit

        it "should set errors for headers and no errors for body in request and response", () ->
