Tests updated. Minor fixes and thumbnails format made variable