Fix toggling test