test for calling a closed-over letrec variable