Add function that tests bandwidth and modify security group