tests: submit_raw’s test no longer depends on doc’s version
tests: Speedup basic cache’s tests
cache: Basic cache no longer use 0 as special value

When no expiration is set, the value is now `nil`.