Duplicate this test, but instead of "new Element();" simply invoke Element as a method call: "Element();". Both cases should throw.