Added test case for closures case study