Added test cases to test cache performance