Merge "Add testcases for security groups"