fix --test for ns record