Women lawyers, moms: Imagine having a baby three weeks before the Texas bar exam, and then facing the possibility of pumping breast milk on the bathroom floor as fellow test takers line up outside during break time.

The scenario was almost more than just a nightmare for Illinois lawyer Shahzeen Karim, who took the bar last month, according to a post on the American Civil Liberties Union Blog of Rights. If she didn't pump her breastmilk, Karim would be in pain and would risk getting a breast infection, and her milk supply would decrease. She needed more testing time and frequent breaks and a private place to pump her milk, said the blog post.

It said that because the Texas Board of Law Examiners initially refused Karim's accommodations, which would have resulted in her pumping in the bathroom. Instead, Karim fought, and the TBLE changed its mind.