Add a test case that demonstrates a closure