Constructor with persistence is now deprecated
Added tests for ImageInfo