Change getYUITestResults method to work with older version of YUI (3.4.1)