[F] Added more tests for handling error messages.