Session-based flash store implementation + Test case