Added more formal test cases for closure convert