Added compare_images test which saves images as a part of verification.