Review the current storage access patterns and add tests for edge conditions such as empty values, maximum sizes, and invalid ranges.
Acceptance criteria:
- Boundary and invalid-value tests are included.
- The tests capture regressions around storage logic.
- The changes are aligned with the existing test style in the repository.
Review the current storage access patterns and add tests for edge conditions such as empty values, maximum sizes, and invalid ranges.
Acceptance criteria: