Issue #2340785 by mpdonadio: Create proper test method for determining if text has been escaped properly.
Issue #2358657 by zaporylie, geerlingguy: Fixed Wrong @covers definitions in Drupal project.