Check that createElementNS exists before test