some tests for cache