Fixed test to fail if no image was created. Added check on bounds.
Added info, warning, and error messages for debugging purposes.