Adding regex to tests harness