curry test for closures