Fix tests bootstrap to meet the new core requirements
Fix tests bootstrap to meet the new core requirements

IATkachenko/gallery,imjalpreet/gallery,desaintmartin/gallery,IATkachenko/gallery,setnes/galleryplus,owncloud/gallery,interfasys/galleryplus,setnes/gallery,viraj96/gallery,owncloud/galleryplus,interfasys/galleryplus,setnes/galleryplus,viraj96/gallery,owncloud/galleryplus,tahaalibra/gallery,imjalpreet/gallery,IATkachenko/gallery,setnes/gallery,viraj96/gallery,owncloud/galleryplus,setnes/galleryplus,imjalpreet/gallery,interfasys/galleryplus,desaintmartin/gallery,tahaalibra/gallery,owncloud/gallery,desaintmartin/gallery,setnes/gallery,tahaalibra/gallery,owncloud/gallery