These tests for the IDL attributes rely on Function#toString, which isn't well-defined. Please just drop those.