       result:'some {{key}} value'
     }
     {
-      desc: 'with an escape slash before second opening brace which voids key'
+      desc: 'with an escape slash before first opening brace which voids key'
       should:'should match input without key replacement'
-      output:['some {\\', '{key}} value']
+      output:['some \\{', '{key}} value']
       values: key:'good'
       result:'some {{key}} value'
-    }
-    {
-      desc: 'with an escape slash before first closing brace which makes it part of the key'
-      should:'should use brace as part of key'
-      output:['some {{key\\', '}}} value']
-      values: key:'good', 'key}':'better'
-      result:'some better value'
-    }
-    {
-      desc: 'with an escape slash before second opening brace which makes both braces part of the key'
-      output:['some {{key}\\', '}}} value']
-      values: key:'good', 'key}}':'better', 'key}':'wrong'
-      result:'some better value'
     }
     {
       desc: 'with two escape slashes before first opening brace which doesnt affect the key'
       output:['some \\\\', '{{key}} value']
       values: key:'good'
-      result:'some \\good value'
-    }
+      result:'some \\\\good value'
+    }
+
     {
       desc: 'with lots of output chunks'
       should:'should still escape a brace and match proper key'
-      output:['some {', '{', 'key}', '\\', '}', '}', '} value']
-      values: key:'good', 'key}}':'better', 'key}':'wrong'
-      result:'some better value'
+      output:['some {', '{', 'key', '}', '} value']
+      values: key:'good'
+      result:'some good value'
     }
 
   ]


          # create a sink stream to collect all it receives into a string
          output = strung()
          # when all writes are finished to it verify the results
          output.on 'finish', ->
            assert.equal output?.string, test.result
            # tell Mocha the test is done
            done()

          # send any errors to Moch's callback
          input.on  'error', done
          stream.on 'error', done
          output.on 'error', done

kevas    = require '../../lib'
strung   = require 'strung'
through  = require 'through2'
Path     = require 'fspath'

describe 'test kevas', ->

  shouldReplaceKeyWithValue = 'should replace the key with its value'
  for test in [
