Hmm so you want test cases to be able to run in parallel ? I guess that needs rethinking of the ManagerInstance and removing the staticness + creating DefaultCacheManager for the REST server manually from the test code.