     if result isnt (eval compiled.compiled)
       log "Wrong result", result
   catch e
-    logError "Error in test #{teaSource}", e
+    logError "Error in test |#{name}|\n#{teaSource}\n", e
 
 tests = [
   'simple defs'

  compiledElems =
    if ctx.assignTo()
      for elem, i in elems
        ctx.setAssignTo "#{ctx.assignTo()}[#{i}]"
        elemCompiled = expressionCompile ctx, elem
        ctx.resetAssignTo()
        elemCompiled

      else
        ctx.doDefer expression, dependencyName

  concat compiledPairs

definitionPairCompile = (ctx, pattern, value) ->
  # log "COMPILING", pattern
