renamed test functions: PrintsNothing -> HasNoError, PrintsMessage -> HasErrorMessages