Fixed test suite to handle the hasTooltip class in stead of hasTip