Refactored test code so a single test is used to validate the LRU functionality.