Remove regexes from tests

This gives better error messages when there's a mismatch, and means that we are no longer in danger of blowing out the regex matcher with large previews (like the ones introduced in #22, which we can now merge).