add test for runtime issue 307
Fixes nil regex entries in exec and match. Fixes #307
adds tap test format
Merge pull request #309 from tessel/tcr-307

Fixes nil regex entries in exec and match. Fixes #307