Included explicit unittest to check image creation