Fixes to get Core, Services and REST tests working consistently with Core Persistence.