A urinalysis, or a urine test, is routine for all pregnant women. Your urine is regularly tested for increased amounts of sugar and increased amounts of protein. Increased sugar levels could indicate gestational diabetes, and increased amounts of protein could be a sign of preeclampsia. Both of these conditions require special treatment, and it's best to catch them as soon as possible.