anchor.diff:                                                           where ev1.eventparam2 = ev2.eventparam2
                                                            within 60 seconds; ", 1),
   
  -    TemplateVars = rivus_cep_parser:parse(Tokens),
  +    StmtClauses = rivus_cep_parser:parse(Tokens),
       ?assertEqual({ok,[{pattern1},
   		      {[{event1,eventparam1},
   			{event2,eventparam2},
  
positive.code:                                                          where ev1.eventparam2 = ev2.eventparam2
                                                           within 60 seconds; ", 1),
  
      TemplateVars = rivus_cep_parser:parse(Tokens),
      ?assertEqual({ok,[{correlation1},
  		      {[{event1,eventparam1},
  			{event2,eventparam2},
  
negative.code: 			{event1,eventparam2}]},
  		      {[event1,event2]},
  		      {{eq,{event1,eventparam2},{event2,eventparam2}}},
  		      {60}]}, StmtClauses ),
  
      {ok, [StmtName, SelectClause, FromClause, WhereClause, WithinClause]} = StmtClauses,
      
      Stmt = rivus_cep_stmt_builder:build_rs_stmt(StmtName, SelectClause, FromClause, WhereClause),
      %% ?debugMsg(io_lib:format("Stmt: ~p~n",[Stmt])),
  