updated test for is widget to increase codecover