Add failing test for fix

I figured this might be an okay trade-off to reuse the same method, but
still be able to pass in a string or regular expression to fully or
partially match error message content.