Add test case for CacheAwareTrait