Make view test more tolerant of changing css classes