fixed image_tests

I need to recheck validation code in sub...