Fix typo
Add tests for Cache