assertEquals("(( (new java.text.SimpleDateFormat()).parse(\"date\").getTime() - (new java.text.SimpleDateFormat()).parse(\"01/01/1956\").getTime() ) / (1000*60*60*24))", ctx.mapFunction("dateDaysSinceYear","\"date\"","1956"));
assertEquals("(( (new java.text.SimpleDateFormat()).parse(\"date\").getTime() - (new java.text.SimpleDateFormat()).parse(\"01/01/1956\").getTime() ) / 1000)", ctx.mapFunction("dateSecondsSinceYear","\"date\"","1956"));
assertEquals("((new java.text.SimpleDateFormat()).parse(\"date\").getTime() % 1000)", ctx.mapFunction("dateSecondsSinceMidnight","\"date\""));
assertEquals("(a == b)" , ctx.mapFunction("equal","a","b"));
assertEquals("(a != b)" , ctx.mapFunction("notEqual","a","b"));
assertEquals("(a < b)" , ctx.mapFunction("lessThan","a","b"));
assertEquals("(a <= b)" , ctx.mapFunction("lessOrEqual","a","b"));
assertEquals("(a > b)" , ctx.mapFunction("greaterThan","a","b"));
assertEquals("(a >= b)" , ctx.mapFunction("greaterOrEqual","a","b"));