Added a test for getnetent()
Partially implemented getnetent()