Testing the code of closure conversion