Issue 2628 unit test widget cache