added tests for image processing