Test storage of  images