Test 1.  Should print match four times
match
match
match
match
Test 2.  Should print no match three times
no match
no match
no match
Test 3.  Should print match five times
match
match
match
match
match
Test 4.  Should print four times
match
match
match
match
Test 5.  Should print 0
0
Test Invalid
Expected failure 1 (no output)
Expected failure 2 (no output)
Expected failure 3 (no output)
Expected failure 4 (no output)
