refactor test case, test multi-threaded write ttl