Fix issue with test names not escaping special characters

When running a test that has a name with any special characters in it (namely ? and other symbols important for regular expressions), the test runner fails to match because the symbols aren't escaped.

Rebase of #341, because I deleted my zeus repo and that PR won't update.