In test_closure, also test that the compiled functions themselves get collected
Move closure lifetime test into test_func_lifetime