Issue #3155761 by Hardik_Patel_12, longwave: Replace assertions involving calls to stristr() with assertStringContainsString()