fixed test to use widget instead of Checkbox