Testing of error-check system