test for forwarding variables to outlined code