Test for closures.
Implement takeclosure; passes closure test.