Fixed PHPUnit tests after DRUPAL_ROOT was removed.