diff --git a/tests/HTMLPurifier/ChildDefTest.php b/tests/HTMLPurifier/ChildDefTest.php
index 228898fa..7420f72d 100644
--- a/tests/HTMLPurifier/ChildDefTest.php
+++ b/tests/HTMLPurifier/ChildDefTest.php
@@ -42,9 +42,29 @@ class HTMLPurifier_ChildDefTest extends UnitTestCase
function test_custom() {
- // the table definition
$this->def = new HTMLPurifier_ChildDef_Custom(
- '(caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))');
+ '(a, b?, c*, d+, (a, b)*)');
+
+ $inputs[0] = '';
+ $expect[0] = false;
+
+ $inputs[1] = '';
+ $expect[1] = true;
+
+ $inputs[2] = 'Dobfoofoo';
+ $expect[2] = true;
+
+ $inputs[3] = '';
+ $expect[3] = false;
+
+ }
+
+ function atest_table() {
+
+ // currently inactive, awaiting augmentation
+
+ // the table definition
+ $this->def = new HTMLPurifier_ChildDef_Table();
$inputs = $expect = $config = array();