changed image loading in sobel test