testing ImageLayer