Added FIFO and Random cache to tests and graph.