Added a test case for a closure and function falue.