Unit test for concurrent access to local storage (supports TC and LMDB)