test fix for widgetsample