Add tests for ImageUtils