add:
$this->assertEquals(0, substr_count($html, 'hideOnMobile'));