add (failing) tests for ordered defer / emit