Account for top level defines, which has no parent environment
Test User Defined Functions