Add unit test for bug #43
Remove disk cache contents one by one instead of removing and recreating the directory