Update lru_cache.js
Add test for #939.