--- modules/path/path.test	2011-02-04 13:42:21.000000000 -0500
+++ modules/path/path.test.New	2011-02-07 13:50:57.000000000 -0500
@@ -1,9 +1,9 @@
 <?php
-// $Id: path.test,v 1.42 2011/02/04 18:42:21 dries Exp $
+// $Id: path.test,v 1.41 2010/10/09 17:38:41 webchick Exp $
 
 /**
  * @file
- * Tests for path.module.
+ * Tests for the path module
  */
 
 class PathTestCase extends DrupalWebTestCase {
@@ -19,11 +19,52 @@ class PathTestCase extends DrupalWebTest
     parent::setUp('path');
 
     // Create test user and login.
-    $web_user = $this->drupalCreateUser(array('create page content', 'edit own page content', 'administer url aliases', 'create url aliases'));
+    $web_user = $this->drupalCreateUser(array('create page content', 'edit own page content', 'delete own page content', 'administer url aliases', 'create url aliases'));
     $this->drupalLogin($web_user);
   }
 
   /**
+   *  Test handeling of multiple paths.
+   */
+  function testMultiPath() {
+    // Create test node.
+    $node1 = $this->drupalCreateNode();
+    
+    // Define aliases.
+    $alias1 = $this->randomName(8);
+    $alias2 = $this->randomName(8);
+
+    // Insert aliases
+    $edit = array();
+    $edit['source'] = 'node/' . $node1->nid;
+
+    $edit['alias'] = $alias1;
+    $this->drupalPost('admin/config/search/path/add', $edit, t('Save'));
+
+    $edit['alias'] = $alias2;
+    $this->drupalPost('admin/config/search/path/add', $edit, t('Save'));
+
+    // Confirm both aliases exist.
+    $this->drupalGet($alias1);
+    $this->assertText($node1->title, 'First alias works.');
+    $this->assertResponse(200);
+
+    $this->drupalGet($alias2);
+    $this->assertText($node1->title, 'Second alias works.');
+    $this->assertResponse(200);
+
+    // Delete the node
+    $this->drupalPost('node/' . $node1->nid . '/delete', array(), t('Delete'));
+
+    // Confirm both aliases were deleted.
+    $this->drupalGet($alias1);
+    $this->assertResponse(404, 'First alias deleted.');
+
+    $this->drupalGet($alias2);
+    $this->assertResponse(404, 'Second alias deleted.');
+  }
+
+  /**
    * Test the path cache.
    */
   function testPathCache() {
