Issue #3135747 by alexpott, mondrake, jungle: assertStringContainsString() and related BC layer in 8.8.x does not work as expected