cachetest: add slightly less dumb s4lru implementation