fix issues in CachingFreenetStoreTest: fix in testSimple, testTimeExpire and add testOnClose