Make error handling in houndigrade a bit more robust, and add more test images to exercise the detection criteria more thoroughly.