fixing networking tests and adding them to travis ci