@Test
public void testSimpleFnOutofCoroutine() {
RT.var("clojure.core", "require").invoke(Symbol.create("nginx.clojure.fns-for-test"));
// System.out.println("rq cl :" + rq.getClass().getClassLoader());
final IFn fn = (IFn)RT.var("nginx.clojure.fns-for-test", "fn-out-of-coroutine").fn();
fn.invoke(messages);
assertEquals(4, messages.size());
assertEquals("entering fn-out-of-coroutine", messages.get(0));
for (int i = 0; i < 3; i++) {
assertEquals("echo:" + i, messages.get(i+1));
}