fixes for security groups test