Ensure we always use containsOrderedTextFragments() when there are
multiple substrings to find, and always use containsText() when there is
only one substring to find, so that we can be sure that tests are as
explicit as they should be -- this was done in the hope of finding the
cause of the non-determinism which shows itself when running the
application properly, but not currently when running the tests.