fix long lines
add delete_network function and tests