fixed test to use Toggle instead of Checkbox