Group B Strep testing

Why and when should I test for group B Strep?