Tests for image processing