Now using only int
added a test for cloning a lonely image as source