test for late inner functions