updated tests for ImageManager