add some tests for dispatch img