CleanUpRepository tests