exit 1 if there were errors.

a test program MUST exit non zero if the tests fail.