I verified that $test has proper data assigned by inserting a print statement.
--- snip ----
$test = "$RemoteSystem{'NetBios'}{$nic_service}{NameServerlist}";
print "$test\n"; #this shows me that $test has proper string assigned
($a, $b) = split(/ +/, $test);
print "$a -- $b\n";
-------------