Added a test for getprotoent()