Added tests for image processor