passing test for if the variable is defined prior to batching
Merge pull request #7 from peterhurford/fix_parent_frame_4

Fix for arguments defined prior to batching