waitForTitle, waitForLabel, waitForLabelContains functions & tests