Allow non-objects in Dom.DOMMemberTester (related to issue 6985)