add test for onImagesReplaced callback