Test 1a.  Should print match four times
match
match
match
match
Test 1b.  Should print no match three times
no match
no match
no match
Test 2.  Should print match
match
Test 3.  Should print match
match
Test 4.  Should print match
match
Test invalid
Expected failure 1 (no output)
Expected failure 2 (no output)
Expected failure 3 (no output)
Expected failure 4 (no output)
