added test for cache widget