Test to load images from file