Woman takes bar exam while in labor