fixed netstat unit test

tested.