Issue #3136744 by jonathan1055: Replace assertContains() with assertStringContainsString() and add trait for core 8.7