Fix function application in hoisted code
Comment and indent test_lib