Improved error messages for ball test program.