Comments and tests for avalon.cache module