Demo Java implementation of FIFO and LRU cache strategies + tests