"contains" matcher automatically takes .text() property if first element is a jquery selector