Fixes tests to work with Omeka updates.