diff --git a/node_admin.module b/node_admin.module
index a304e44..fd3b742 100644
--- a/node_admin.module
+++ b/node_admin.module
@@ -52,7 +52,7 @@ function node_admin_views_api() {
  * Provides permission string for a content type.
  *
  * @param string $type
- *   The content type
+ *   The content type.
  *
  * @return string
  *   The permission string for the content type
diff --git a/node_admin.pages.inc b/node_admin.pages.inc
index 684a610..d859910 100644
--- a/node_admin.pages.inc
+++ b/node_admin.pages.inc
@@ -2,14 +2,14 @@
 
 /**
  * @file
- * Contains page callbacks of Node Admin module
+ * Contains page callbacks of Node Admin module.
  */
 
 /**
  * Page callback.
  *
  * @param string $type
- *   The node type
+ *   The node type.
  *
  * @return mixed
  *   The rendered output
diff --git a/tests/node_admin_ui.test b/tests/node_admin_ui.test
index 574ba43..7dce9a5 100644
--- a/tests/node_admin_ui.test
+++ b/tests/node_admin_ui.test
@@ -11,38 +11,55 @@
 class NodeAdminUITest extends DrupalWebTestCase {
 
   /**
-   * @var object
-   *  page admin user object.
+   * Page admin user object.
+   *
+   * @var tag
    */
   protected $page_admin;
 
   /**
-   * @var object
-   *  content admin user object.
+   * Content admin user object.
+   *
+   * @var tag
    */
   protected $content_admin;
 
+  /**
+   * Get information.
+   */
   public static function getInfo() {
     return array(
       'name' => 'Node admin UI test',
       'group' => 'Node admin',
-      'description' => 'Tests node admin UI'
+      'description' => 'Tests node admin UI',
     );
   }
 
   /**
    * Set up some required modules and users.
    */
-  function setUp() {
+  public function setUp() {
     parent::setUp('node', 'views', 'views_bulk_operations', 'node_admin');
-    $this->page_admin = $this->drupalCreateUser(array('administer page node', 'create page content', 'delete any page content', 'edit any page content'));
-    $this->content_admin =  $this->drupalCreateUser(array('administer nodes', 'administer content types', 'edit any page content', 'access content overview', 'administer page node', 'delete any page content'));
+    $this->page_admin = $this->drupalCreateUser(array(
+      'administer page node',
+      'create page content',
+      'delete any page content',
+      'edit any page content',
+    ));
+    $this->content_admin = $this->drupalCreateUser(array(
+      'administer nodes',
+      'administer content types',
+      'edit any page content',
+      'access content overview',
+      'administer page node',
+      'delete any page content',
+    ));
   }
 
   /**
    * Test page content type administer functionality.
    */
-  function testPageAdminPages() {
+  public function testPageAdminPages() {
     // Login as content type specific node admin.
     $this->drupalLogin($this->page_admin);
 
@@ -65,7 +82,7 @@ class NodeAdminUITest extends DrupalWebTestCase {
   /**
    * Test content admin user functionality.
    */
-  function testContentAdminPages() {
+  public function testContentAdminPages() {
     // Login as global node admin.
     $this->drupalLogin($this->content_admin);
 
@@ -94,7 +111,6 @@ class NodeAdminUITest extends DrupalWebTestCase {
    *   Node object to assert.
    * @param bool $is_admin_page
    *   Flag to specify core node admin page or not.
-   *
    */
   protected function assertNodeItem($node, $is_admin_page = FALSE) {
     // Make sure node present with link.
@@ -115,7 +131,6 @@ class NodeAdminUITest extends DrupalWebTestCase {
    *   Node object to assert.
    * @param bool $is_admin_page
    *   Flag to specify core node admin page or not.
-   *
    */
   protected function assertNoNodeItem($node, $is_admin_page = FALSE) {
     // Make sure node title is present as link.
