Implement cache for last modified information per document per locale
fix test