fixed how test image is returned, use up to date --headless