some tests and add some profiles to resizeImages()