The test program test each of the error conditions, and then test the output of known input with the expected output.