[ImageAtlas] Improve test
[ImageAtlas] Refactor, atlas algorithm has not to be hard linked with Image, so Image part was removed
[Atlas] Refactor to be closer to the original source