tests/closure: add failing test for recursive closure