VelocityEngine ve = new VelocityEngine();
ve.init();
Context context = new VelocityContext();
StringWriter writer = new StringWriter();
ve.evaluate(context, writer, "test","123 ## test test\r\nabc");
assertEquals("123 abc", writer.toString());
context = new VelocityContext();
writer = new StringWriter();
ve.evaluate(context, writer, "test","123 \r\n## test test\r\nabc");