codeintel: tests: update perl complete variable test cases

(integrated from trunk branch change d15b91c by Todd Whiteman <toddw@activestate.com>)