diff --git a/config/install/sharethis.settings.yml b/config/install/sharethis.settings.yml
index a7b66ad..cbe8dda 100644
--- a/config/install/sharethis.settings.yml
+++ b/config/install/sharethis.settings.yml
@@ -1,7 +1,4 @@
 button_option: stbc_button
-comments: 0
-late_load: 0
-location: content
 node_types:
   article: article
   page: page
diff --git a/js/stlib_picker.js b/js/stlib_picker.js
index b7f1183..b524353 100644
--- a/js/stlib_picker.js
+++ b/js/stlib_picker.js
@@ -16,17 +16,17 @@ stlib_picker.getServices = function (id) {
 }
 
 // Creates the picker - make sure it has a unique ID.
-stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
+stlib_picker.setupPicker = function (jQElement, newDefaults, callback) {
   console.log("setting up picker");
   console.log(jQElement);
   // Make an array to store any needed options.
   var optionsArray = [];
   optionsArray["El"] = jQElement;
   optionsArray["isSelect"] = false;
-  optionsArray["getServices"] = function() {
+  optionsArray["getServices"] = function () {
     var answer = [];
     var lis = jQElement.children(".stp_pickerLeft").find(".stp_li");
-    lis.each(function() {
+    lis.each(function () {
       answer.push(jQuery(this).attr("id").substring(6));
     });
     return answer;
@@ -34,11 +34,11 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
 
   // Append the three divs that are needed:
   jQElement.append("<div class='stp_pickerLeft'><span class='stp_header'>Selected Service</span><ul class='stp_ulLeft'></ul></div>");
-  jQElement.append("<div class='stp_pickerArrow'><div class='stp_arrow'><img class='stp_up' src='//www.sharethis.com/images/Direction_Icons_Sprite.png'></img></div>" +
-                                                  "<div class='stp_arrow'><img class='stp_left' src='//www.sharethis.com/images/Direction_Icons_Sprite.png'></img></div>" +
-                                                  "<div class='stp_arrow'><img class='stp_right' src='//www.sharethis.com/images/Direction_Icons_Sprite.png'></img></div>" +
-                                                  "<div class='stp_arrow'><img class='stp_down' src='//www.sharethis.com/images/Direction_Icons_Sprite.png'></img></div>" +
-                    "</div>");
+  jQElement.append("<div class='stp_pickerArrow'><div class='stp_arrow'><img class='stp_up' src='//www.sharethis.com/images/Direction_Icons_Sprite.png' /></div>" +
+    "<div class='stp_arrow'><img class='stp_left' src='//www.sharethis.com/images/Direction_Icons_Sprite.png' /></div>" +
+    "<div class='stp_arrow'><img class='stp_right' src='//www.sharethis.com/images/Direction_Icons_Sprite.png' /></div>" +
+    "<div class='stp_arrow'><img class='stp_down' src='//www.sharethis.com/images/Direction_Icons_Sprite.png' /></div>" +
+    "</div>");
   jQElement.append("<div class='stp_pickerRight'><span class='stp_header'>Possible Services</span><ul class='stp_ulRight'></ul></div>");
   jQElement.append("<div class='stp_clear'></div>");
 
@@ -52,7 +52,7 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
   }
 
   // Add all the services to the picker:
-  jQuery.each(_all_services, function(key, value) {
+  jQuery.each(_all_services, function (key, value) {
     if (jQuery.inArray(key, pickerDefaults) == -1) {
       var ul = jQElement.children(".stp_pickerRight").children(".stp_ulRight");
       if (isSecure) {
@@ -76,14 +76,14 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
 
   // Add the various Event handlers
   // Need to make sure that we don't get confused when there are multiple pickers.
-  jQElement.find(".stp_li").click(function() {
+  jQElement.find(".stp_li").click(function () {
     jQElement.find(".stp_select").removeClass("stp_select");
     jQuery(this).addClass("stp_select");
     stlib_picker.pickerList[jQElement.attr("id")]["isSelect"] = true;
   });
 
   var arrowDiv = jQElement.children(".stp_pickerArrow").children(".stp_arrow");
-  arrowDiv.children(".stp_up").click(function() {
+  arrowDiv.children(".stp_up").click(function () {
     if (stlib_picker.pickerList[jQElement.attr("id")]["isSelect"]) {
       var li = jQElement.find(".stp_select");
       var prev = li.prev();
@@ -95,7 +95,7 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
       }
     }
   });
-  arrowDiv.children(".stp_left").click(function() {
+  arrowDiv.children(".stp_left").click(function () {
     if (stlib_picker.pickerList[jQElement.attr("id")]["isSelect"]) {
       var li = jQElement.find(".stp_select");
       var ul = jQElement.children(".stp_pickerLeft").children(".stp_ulLeft");
@@ -105,7 +105,7 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
       }
     }
   });
-  arrowDiv.children(".stp_right").click(function() {
+  arrowDiv.children(".stp_right").click(function () {
     if (stlib_picker.pickerList[jQElement.attr("id")]["isSelect"]) {
       var li = jQElement.find(".stp_select");
       var ul = jQElement.children(".stp_pickerRight").children(".stp_ulRight");
@@ -115,7 +115,7 @@ stlib_picker.setupPicker = function(jQElement, newDefaults, callback) {
       }
     }
   });
-  arrowDiv.children(".stp_down").click(function() {
+  arrowDiv.children(".stp_down").click(function () {
     if (stlib_picker.pickerList[jQElement.attr("id")]["isSelect"]) {
       var li = jQElement.find(".stp_select");
       var next = li.next();
diff --git a/sharethis.module b/sharethis.module
index 4ff7f72..fc3c86a 100644
--- a/sharethis.module
+++ b/sharethis.module
@@ -1,17 +1,15 @@
 <?php
 /**
  * @file
- * A module that adds one of the ShareThis widget to your website.
+ * A module that adds one of the ShareThis widget to your website
  */
 use Drupal\Core\Url;
 use Drupal\Core\Routing\RouteMatchInterface;
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
 
-
-
 /**
- * Implements hook_help().
+ * Implements hook_help()
  */
 function sharethis_help($route_name, RouteMatchInterface $route_match) {
   switch ($route_name) {
@@ -31,7 +29,7 @@ function sharethis_help($route_name, RouteMatchInterface $route_match) {
 }
 
 /**
- * Implements hook_theme().
+ * Implements hook_theme()
  */
 function sharethis_theme($existing, $type, $theme, $path) {
   return array(
@@ -48,14 +46,14 @@ function sharethis_theme($existing, $type, $theme, $path) {
 }
 
 /**
- * Theme function for ShareThis code based on settings.
+ * Theme function for ShareThis code based on settings
  */
 function theme_sharethis_block($variables) {
   return '<div class="sharethis-wrapper">' . $variables['content']['st_spans'] . '</div>';
 }
 
 /**
- * Implements hook_entity_extra_field_info().
+ * Implements hook_entity_extra_field_info()
  */
 function sharethis_entity_extra_field_info() {
   $sharethis_settings = \Drupal::config('sharethis.settings');
@@ -80,7 +78,7 @@ function sharethis_entity_extra_field_info() {
 }
 
 /**
- * Implements hook_ENTITY_TYPE_view() for node entities.
+ * Implements hook_ENTITY_TYPE_view() for node entities
  *
  * Inserts ShareThis widget code onto each node view.
  * TODO: Want to add the option somewhere to select nodes.
@@ -121,7 +119,7 @@ function sharethis_node_view(array &$build, EntityInterface $node, EntityViewDis
     case 'content':
       $enabled_types = $data_options['node_types'];
       if (isset($enabled_types[$node->bundle()]) && $enabled_types[$node->bundle()] === $node->bundle()) {
-        $st_js = $sharethis_manager->sharethis_include_js();
+        $st_js = $sharethis_manager->shareThis_Include_Js();
         $content = $sharethis_manager->renderSpans($data_options, $title, $path);
         $build['sharethis_content'] = array(
           '#theme' => 'sharethis_block',
@@ -144,7 +142,7 @@ function sharethis_node_view(array &$build, EntityInterface $node, EntityViewDis
     case 'links':
       $enabled_view_modes = $sharethis_settings->get('sharethisnodes.' . $node->bundle());
       if (isset($enabled_view_modes[$view_mode]) && $enabled_view_modes[$view_mode]) {
-        $st_js = $sharethis_manager->sharethis_include_js();
+        $st_js = $sharethis_manager->shareThis_Include_Js();
         $content = $sharethis_manager->renderSpans($data_options, $title, $path);
         $links['sharethis'] = array(
           'title' => array(
@@ -169,7 +167,7 @@ function sharethis_node_view(array &$build, EntityInterface $node, EntityViewDis
           '#attributes' => array(
             'class' => array('links', 'inline'),
           ),
-        // Wrap it in a div.
+          // Wrap it in a div.
           '#tag' => 'div',
           '#type' => 'html_tag',
           '#weight' => 10,
@@ -180,15 +178,17 @@ function sharethis_node_view(array &$build, EntityInterface $node, EntityViewDis
 }
 
 /**
- * Implements hook_ENTITY_TYPE_view().
+ * Implements hook_ENTITY_TYPE_view()
  */
 function sharethis_comment_view(array &$build, EntityInterface $comment, EntityViewDisplayInterface $display, $view_mode) {
   $sharethis_manager = \Drupal::service('sharethis.manager');
   $sharethis_settings = \Drupal::config('sharethis.settings');
   if ($sharethis_settings->get('comments') == 1) {
-    $st_js = $sharethis_manager->sharethis_include_js();
+    $st_js = $sharethis_manager->shareThis_Include_Js();
     $data_options = $sharethis_manager->getOptions();
-    $current_path = \Drupal::routeMatch()->getRouteName() ? Url::fromRouteMatch(\Drupal::routeMatch())->getInternalPath() : '';
+    $current_path = \Drupal::routeMatch()
+      ->getRouteName() ? Url::fromRouteMatch(\Drupal::routeMatch())
+      ->getInternalPath() : '';
     $path = isset($current_path) ? $current_path : '<front>';
     global $base_url;
     $path_obj = Url::fromUri($base_url . '/' . $path,
@@ -200,7 +200,8 @@ function sharethis_comment_view(array &$build, EntityInterface $comment, EntityV
     $path = $path_obj->toString();
     $request = \Drupal::request();
     $route_match = \Drupal::routeMatch();
-    $title = \Drupal::service('title_resolver')->getTitle($request, $route_match->getRouteObject());
+    $title = \Drupal::service('title_resolver')
+      ->getTitle($request, $route_match->getRouteObject());
     $content = $sharethis_manager->renderSpans($data_options, $title, $path);
     $build['sharethis_comments'] = array(
       '#theme' => 'sharethis_block',
diff --git a/src/Form/SharethisConfigurationForm.php b/src/Form/SharethisConfigurationForm.php
index 955e15d..c005b0e 100644
--- a/src/Form/SharethisConfigurationForm.php
+++ b/src/Form/SharethisConfigurationForm.php
@@ -208,8 +208,7 @@ class SharethisConfigurationForm extends ConfigFormBase {
     $form['context']['block']['#children'] = 'You must choose which region to display the in from the Blocks administration';
     $entity_bundles = $this->entityManager->getBundleInfo('node');
     // Add checkboxes for each view mode of each bundle.
-    $entity_modes = $this->entityManager->getViewModes('node');
-    ;
+    $entity_modes = $this->entityManager->getViewModes('node');;
     $modes = array();
     foreach ($entity_modes as $mode => $mode_info) {
       $modes[$mode] = $mode_info['label'];
@@ -407,7 +406,8 @@ class SharethisConfigurationForm extends ConfigFormBase {
       ->save();
     if (is_array($entity_types)) {
       foreach ($entity_types as $key => $entity_type) {
-        $config->set('sharethisnodes.' . $key, $values[$key . '_options'])->save();
+        $config->set('sharethisnodes.' . $key, $values[$key . '_options'])
+          ->save();
       }
     }
     parent::submitForm($form, $form_state);
diff --git a/src/Plugin/Block/SharethisBlock.php b/src/Plugin/Block/SharethisBlock.php
index c36867f..540a0e3 100644
--- a/src/Plugin/Block/SharethisBlock.php
+++ b/src/Plugin/Block/SharethisBlock.php
@@ -75,7 +75,7 @@ class SharethisBlock extends BlockBase implements ContainerFactoryPluginInterfac
    */
   public function build() {
     if ($this->sharethisSettings->get('location') === 'block') {
-      $st_js = $this->sharethisManager->sharethis_include_js();
+      $st_js = $this->sharethisManager->shareThis_Include_Js();
       $markup = $this->sharethisManager->blockContents();
       return [
         '#theme' => 'sharethis_block',
diff --git a/src/Plugin/Block/SharethisWidgetBlock.php b/src/Plugin/Block/SharethisWidgetBlock.php
index b216e94..2cf57eb 100644
--- a/src/Plugin/Block/SharethisWidgetBlock.php
+++ b/src/Plugin/Block/SharethisWidgetBlock.php
@@ -131,7 +131,7 @@ class SharethisWidgetBlock extends BlockBase implements ContainerFactoryPluginIn
    */
   public function build() {
     if ($this->sharethisSettings->get('location') === 'block') {
-      $st_js = $this->sharethisManager->sharethis_include_js();
+      $st_js = $this->sharethisManager->shareThis_Include_Js();
       if ($this->configuration['sharethis_path'] == 'external') {
         $mpath = $this->configuration['sharethis_path_external'];
       }
diff --git a/src/Plugin/Views/field/SharethisNode.php b/src/Plugin/Views/field/SharethisNode.php
index f8faeec..e8a8b53 100644
--- a/src/Plugin/Views/field/SharethisNode.php
+++ b/src/Plugin/Views/field/SharethisNode.php
@@ -44,7 +44,7 @@ class SharethisNode extends FieldPluginBase {
     );
     $mPath = $path_obj->toString();
     $data_options = $sharethis_manager->getOptions();
-    $st_js = $sharethis_manager->sharethis_include_js();
+    $st_js = $sharethis_manager->shareThis_Include_Js();
     $content = $sharethis_manager->renderSpans($data_options, $mTitle, $mPath);
     return [
       '#theme' => 'sharethis_block',
diff --git a/src/SharethisManager.php b/src/SharethisManager.php
index 1d7957c..6557265 100644
--- a/src/SharethisManager.php
+++ b/src/SharethisManager.php
@@ -50,7 +50,7 @@ class SharethisManager implements SharethisManagerInterface {
    * {@inheritdoc}
    */
   public function getOptions() {
-    $sharethisConfig = $this->configFactory->get('sharethis.settings');
+    $shareThisConfig = $this->configFactory->get('sharethis.settings');
 
     $default_sharethis_nodetypes = array('article' => 'article', 'page' => 'page');
     $view_modes = array();
@@ -59,22 +59,22 @@ class SharethisManager implements SharethisManagerInterface {
     }
 
     return [
-      'buttons' => $sharethisConfig->get('button_option', 'stbc_button'),
-      'publisherID' => $sharethisConfig->get('publisherID'),
-      'services' => $sharethisConfig->get('service_option'),
-      'option_extras' => $sharethisConfig->get('option_extras'),
-      'widget' => $sharethisConfig->get('widget_option'),
-      'onhover' => $sharethisConfig->get('option_onhover'),
-      'neworzero' => $sharethisConfig->get('option_neworzero'),
-      'twitter_suffix' => $sharethisConfig->get('twitter_suffix'),
-      'twitter_handle' => $sharethisConfig->get('twitter_handle'),
-      'twitter_recommends' => $sharethisConfig->get('twitter_recommends'),
-      'late_load' => $sharethisConfig->get('late_load'),
+      'buttons' => $shareThisConfig->get('button_option', 'stbc_button'),
+      'publisherID' => $shareThisConfig->get('publisherID'),
+      'services' => $shareThisConfig->get('service_option'),
+      'option_extras' => $shareThisConfig->get('option_extras'),
+      'widget' => $shareThisConfig->get('widget_option'),
+      'onhover' => $shareThisConfig->get('option_onhover'),
+      'neworzero' => $shareThisConfig->get('option_neworzero'),
+      'twitter_suffix' => $shareThisConfig->get('twitter_suffix'),
+      'twitter_handle' => $shareThisConfig->get('twitter_handle'),
+      'twitter_recommends' => $shareThisConfig->get('twitter_recommends'),
+      'late_load' => $shareThisConfig->get('late_load'),
       'view_modes' => $view_modes,
-      'cns' => $sharethisConfig->get('cns'),
-      'callesi' => (NULL == $sharethisConfig->get('cns')) ? 1 : 0,
-      'node_types' => $sharethisConfig->get('node_types'),
-      'shorten' => $sharethisConfig->get('option_shorten'),
+      'cns' => $shareThisConfig->get('cns'),
+      'callesi' => (NULL == $shareThisConfig->get('cns')) ? 1 : 0,
+      'node_types' => $shareThisConfig->get('node_types'),
+      'shorten' => $shareThisConfig->get('option_shorten'),
     ];
   }
 
@@ -84,9 +84,9 @@ class SharethisManager implements SharethisManagerInterface {
    */
   function blockContents() {
 
-    $sharethisConfig = $this->configFactory->get('sharethis.settings');
+    $shareThisConfig = $this->configFactory->get('sharethis.settings');
     $config = $this->configFactory->get('system.site');
-    if ($sharethisConfig->get('location') == 'block') {
+    if ($shareThisConfig->get('location') == 'block') {
       // First get all of the options for the sharethis widget from the database:
       $data_options = $this->getOptions();
       $current_path = \Drupal::routeMatch()->getRouteName() ? Url::fromRouteMatch(\Drupal::routeMatch())->getInternalPath() : '';
@@ -119,7 +119,7 @@ class SharethisManager implements SharethisManagerInterface {
   /**
    * {@inheritdoc}
    */
-  function sharethis_include_js() {
+  function shareThis_Include_Js() {
     $has_run = &drupal_static(__FUNCTION__, FALSE);
     if (!$has_run) {
       // These are the ShareThis scripts:
@@ -134,7 +134,7 @@ class SharethisManager implements SharethisManagerInterface {
         $st_js .= 'var ' . $name . ' = ' . Json::decode($value) . ';';
 
       }
-      $stlight = $this->get_stLight_options($data_options);
+      $stlight = $this->get_Stlight_Options($data_options);
       $st_js = $stlight;
       return $st_js;
       $has_run = TRUE;
@@ -144,15 +144,15 @@ class SharethisManager implements SharethisManagerInterface {
   /**
    * {@inheritdoc}
    */
-  function get_stLight_options($data_options) {
+  function get_Stlight_Options($data_options) {
     // Provide the publisher ID.
     $paramsStLight = array(
       'publisher' => $data_options['publisherID'],
     );
     $paramsStLight['version'] = ($data_options['widget'] == 'st_multi') ? "5x" : "4x";
     if ($data_options['callesi'] == 0) {
-      $paramsStLight["doNotCopy"] = !$this->to_boolean($data_options['cns']['donotcopy']);
-      $paramsStLight["hashAddressBar"] = $this->to_boolean($data_options['cns']['hashaddress']);
+      $paramsStLight["doNotCopy"] = !$this->to_Boolean($data_options['cns']['donotcopy']);
+      $paramsStLight["hashAddressBar"] = $this->to_Boolean($data_options['cns']['hashaddress']);
       if (!($paramsStLight["hashAddressBar"]) && $paramsStLight["doNotCopy"]) {
         $paramsStLight["doNotHash"] = TRUE;
       }
@@ -176,7 +176,7 @@ class SharethisManager implements SharethisManagerInterface {
   /**
    * {@inheritdoc}
    */
-  function to_boolean($val) {
+  function to_Boolean($val) {
     if (strtolower(trim($val)) === 'false') {
       return FALSE;
     }
@@ -186,20 +186,22 @@ class SharethisManager implements SharethisManagerInterface {
   }
 
   /**
-   *
+   *it renders the apn htm elements
    */
   function renderSpans($data_options, $mtitle, $mpath) {
     foreach ($data_options['option_extras'] as $service) {
       $data_options['services'] .= ',"' . $service . '"';
     }
 
-    // The share buttons are simply spans of the form class='st_SERVICE_BUTTONTYPE' -- "st" stands for ShareThis.
+    //The share buttons are simply spans of the form class='st_SERVICE_BUTTONTYPE'
+    //-- "st" stands for ShareThis
     $type = Unicode::substr($data_options['buttons'], 4);
     $type = $type == "_" ? "" : Html::escape($type);
     $service_array = explode(",", $data_options['services']);
     $st_spans = "";
     foreach ($service_array as $service_full) {
-      // Strip the quotes from the element in the array (They are there for javascript).
+      //strip the quotes from the element in the array
+      // (They are there for javascript).
       $service = explode(":", $service_full);
 
       // Service names are expected to be parsed by Name:machine_name. If only one
@@ -209,18 +211,18 @@ class SharethisManager implements SharethisManagerInterface {
       }
 
       // Find the service code name.
-      $serviceCodeName = Unicode::substr($service[1], 0, -1);
+      $serviceCodename = Unicode::substr($service[1], 0, -1);
 
       // Switch the title on a per-service basis if required.
       // $mtitle = $mtitle;.
-      switch ($serviceCodeName) {
+      switch ($serviceCodename) {
         case 'twitter':
           $mtitle = empty($data_options['twitter_suffix']) ? $mtitle : Html::escape($mtitle) . ' ' . Html::escape($data_options['twitter_suffix']);
           break;
       }
 
       // Sanitize the service code for display.
-      $display = Html::escape($serviceCodeName);
+      $display = Html::escape($serviceCodename);
 
       // Put together the span attributes.
       $attributes = array(
@@ -228,7 +230,7 @@ class SharethisManager implements SharethisManagerInterface {
         'st_title' => $mtitle,
         'class' => 'st_' . $display . $type,
       );
-      if ($serviceCodeName == 'twitter') {
+      if ($serviceCodename == 'twitter') {
         if (!empty($data_options['twitter_handle'])) {
           $attributes['st_via'] = $data_options['twitter_handle'];
           $attributes['st_username'] = $data_options['twitter_recommends'];
diff --git a/src/SharethisManagerInterface.php b/src/SharethisManagerInterface.php
index ff301d7..f0e0230 100644
--- a/src/SharethisManagerInterface.php
+++ b/src/SharethisManagerInterface.php
@@ -14,7 +14,6 @@ interface SharethisManagerInterface {
 
   /**
    * Determine if connection should be refreshed.
-   *
    * @return []
    *   Returns the list of options that sharethis provides.
    */
@@ -22,16 +21,13 @@ interface SharethisManagerInterface {
 
   /**
    * Custom html block.
-   *
-   * @return array
+   *@return array
    */
   public function blockContents();
 
   /**
    * Custom html markup for widget.
-   *
    * @param $array
-   *
    * @return array
    */
   public function widgetContents($array);
@@ -39,33 +35,26 @@ interface SharethisManagerInterface {
   /**
    * Include st js scripts.
    */
-  public function sharethis_include_js();
-
+  public function shareThis_Include_Js();
 
   /**
-   * Get_stLight_options() function is creating options to be passed to stLight.options
+   * get_Stlight_Options() function is creating options to be passed to stLight.options
    * $data_options array is the settings selected by publisher in admin panel.
    */
-  public function get_stLight_options($data_options);
-
+  public function get_Stlight_Options($data_options);
 
   /**
-   * Converts given value to boolean.
-   *
+   * Converts given value to boolean
    * @param val
-   *   Which value to convert to boolean
-   *
-   * @return bool
-   *
-   * @todo To be replaced with bool
+   * Which value to convert to boolean
+   *@return bool
+   *@todo To be replaced with bool
    */
-  function to_boolean($val);
+  function to_Boolean($val);
 
   /**
-   * Custom html block.
-   *
-   * @param array, string, string
-   *
+   * Custom html block
+   * @param array , string, string
    * @return array
    */
   public function renderSpans($array, $string, $string);
diff --git a/src/Tests/SharethisBlockTest.php b/src/Tests/SharethisBlockTest.php
index fb8252e..952b3a4 100644
--- a/src/Tests/SharethisBlockTest.php
+++ b/src/Tests/SharethisBlockTest.php
@@ -21,24 +21,38 @@ class SharethisBlockTest extends NodeTestBase {
    *
    * @var array
    */
-  public static $modules = array('node', 'system_test', 'block' , 'user', 'sharethis' , 'menu_ui');
+  public static $modules = array(
+    'node',
+    'system_test',
+    'block',
+    'user',
+    'sharethis',
+    'menu_ui'
+  );
+
   /**
    * {@inheritdoc}
    */
   protected function setUp() {
     parent::setUp();
     // Create and login user.
-    $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer site configuration', 'access administration pages', 'administer sharethis', 'administer nodes'));
+    $admin_user = $this->drupalCreateUser(array(
+      'administer blocks',
+      'administer site configuration',
+      'access administration pages',
+      'administer sharethis',
+      'administer nodes'
+    ));
     $this->drupalLogin($admin_user);
   }
 
   /**
-   * Test that the sharethis form block can be placed and works.
+   * Test that the sharethis form block can be placed and works
    */
   public function testSharethisBlock() {
     $edit['location'] = 'block';
     $this->drupalPostForm('admin/config/services/sharethis', $edit, t('Save configuration'));
-    $this->assertText(t('The configuration options have been saved.'), t('Saved configuration'));
+    $this->assertText('The configuration options have been saved.', t('Saved configuration'));
     // Test availability of the sharethis block in the admin "Place blocks" list.
     \Drupal::service('theme_handler')->install(['bartik', 'seven', 'stark']);
     $theme_settings = $this->config('system.theme');
