health_check will now try to thumbnail test image and return 502 if there was a problem