updated test for is widget