the test is only against the first line, but testament doens't support multi-line error messages yet.