PHPCR gallery support
update tests where FormatThumbnail is used