Index: tests/biblio.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/biblio/tests/Attic/biblio.test,v
retrieving revision 1.1.2.8
diff -u -p -r1.1.2.8 biblio.test
--- tests/biblio.test	12 Jan 2010 22:21:26 -0000	1.1.2.8
+++ tests/biblio.test	10 Sep 2010 23:42:07 -0000
@@ -10,36 +10,6 @@ class BiblioWebTestCase extends DrupalWe
   protected $nids = array();  //keep a list of all node id's created
   protected $admin_user;
 
-  function tearDown() {
-    if(!empty($this->kids)){
-      db_delete('biblio_keyword')
-      ->condition('kid', $this->kids, 'IN')
-      ->execute();
-
-      db_delete('biblio_keyword_data')
-      ->condition('kid', $this->kids, 'IN')
-      ->execute();
-
-    }
-
-    foreach($this->nids as $nid) {
-      node_delete($nid);
-    }
-
-    if(!empty($this->cids)) {
-      db_delete('biblio_contributor')
-      ->condition('cid', $this->cids, 'IN')
-      ->execute();
-
-      db_delete('biblio_contributor_data')
-      ->condition('cid', $this->cids, 'IN')
-      ->execute();
-
-    }
-    $this->cids = array();
-  }
-
-
   function createNode($type = 100) {
     $schema = drupal_get_schema('biblio');
     foreach($schema['fields'] as $name => $values) {
@@ -55,7 +25,7 @@ class BiblioWebTestCase extends DrupalWe
       $biblio_fields["$name"] = $name;
     }
     $settings = array(
-      'title' => array('zxx' => array(array('value' => 'Biblio Title'))),
+      'title' => 'Biblio Title',
       'type' => 'biblio', // This replaces the default type
       'biblio_type' => $type, // This appends a new field.
       'biblio_year' => 2009,
@@ -87,4 +57,4 @@ class BiblioWebTestCase extends DrupalWe
     }
     $this->assertEqual($count, 0, "There were $count differences between the two nodes");
   }
-}
\ No newline at end of file
+}
Index: tests/contributor.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/biblio/tests/Attic/contributor.test,v
retrieving revision 1.1.2.4
diff -u -p -r1.1.2.4 contributor.test
--- tests/contributor.test	20 Nov 2009 21:41:30 -0000	1.1.2.4
+++ tests/contributor.test	10 Sep 2010 23:42:07 -0000
@@ -8,6 +8,7 @@
 
 class BiblioContributorWebTestCase extends BiblioWebTestCase {
   function setUp() {
+    parent::setUp('biblio');
     require_once(drupal_get_path('module', 'biblio') .'/biblio.contributors.inc');
   }
 
Index: tests/import.export.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/biblio/tests/Attic/import.export.test,v
retrieving revision 1.1.2.10
diff -u -p -r1.1.2.10 import.export.test
--- tests/import.export.test	12 Jan 2010 22:21:26 -0000	1.1.2.10
+++ tests/import.export.test	10 Sep 2010 23:42:07 -0000
@@ -2,6 +2,7 @@
 // $Id: import.export.test,v 1.1.2.10 2010/01/12 22:21:26 rjerome Exp $
 class BiblioImportExportWebTestCase extends BiblioWebTestCase {
   function setUp() {
+    parent::setUp('biblio');
     module_load_include('inc', 'biblio', 'biblio.import.export');
     module_load_include('inc', 'biblio', 'biblio.type.mapper');
 
@@ -109,4 +110,4 @@ class BiblioImportExportUnitTest extends
     }
   }
 
-}
\ No newline at end of file
+}
Index: tests/keyword.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/biblio/tests/Attic/keyword.test,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 keyword.test
--- tests/keyword.test	20 Nov 2009 21:41:30 -0000	1.1.2.6
+++ tests/keyword.test	10 Sep 2010 23:42:07 -0000
@@ -12,6 +12,7 @@
 class BiblioKeywordWebTestCase extends BiblioWebTestCase {
 
   function setUp() {
+    parent::setUp('biblio');
     require_once(drupal_get_path('module', 'biblio') .'/biblio.keywords.inc');
   }
 
@@ -51,7 +52,7 @@ class BiblioKeywordUnitTest extends Bibl
   }
   function testBiblioGetKeywordById() {
     $keyword = $this->createKeyword();
-    $word = biblio_get_keyword_by_id($keyword['kid']);
+    $word = (array) biblio_get_keyword_by_id($keyword['kid']);
     $this->assertEqual($keyword, $word, 'Get keyword by ID');
   }
   function testBiblioGetKeywordByName() {
