Remove warnings - undef var
update transgene test for ws241
Fix test for wikipathways - #2543