[New] Implemented a mock persistence to test CACHED and TRANSACTIONAL