Test merging of Entity by implementing a rebuildThumbnails method.