/**
  * Overrides checkRequirements().
  */
 protected function checkRequirements()
 {
     if ($this->isInChildSite()) {
         return array('Test is not allowed to run.');
     }
     return parent::checkRequirements();
 }