if test is part of package netrc, no need to import it
remove dead code
use bufio SplitFuncs instead of own split logic
ignore comments in netrc files