 {
  var event = new ToggleEvent("test", {newState: true});
  assert_equals(event.newState, "true");
}, "newState set to true");

test(function() {
  var event = new ToggleEvent("test", {newState: 0.5});
  assert_equals(event.newState, "0.5");
}, "newState set to a number");

test(function() {
  var event = new ToggleEvent("test", {newState: []});
  assert_equals(event.newState, "");
}, "newState set to []");

test(function() {
  var event = new ToggleEvent("test", {newState: [1, 2, 3]});
  assert_equals(ev