Added expectText:inViewWithAccessibilityLabel:traits: method to help with validating text.