added more iiif tests plus a few compatibility fixes