improved test class
write image should block until it completes
use multiple input images for multi-resolution transform, to properly handle boundary pixels