Fixes nil regex entries in exec and match. Fixes #307
Merge pull request #322 from tessel/pc-issue-307

Adds tests for issue 307
adds tap test format