Removed Thread.sleep from test case testCacheNames