Added match() helper method to be able to test with regexes (#3)

This adds the match() helper in order to be able to use regexes with tests.  This close issue #3.