What they do can very much depend on you yourself, if you got regular
and early prenatal care, was cooperative
and followed all your instructions; presented yourself as a caring and cared for mother to be, then there may not be any reason for them to test you. However if you or those around you send out warning signals with their presentation, dress or behavior, your health provider can very well test your baby's meconium (poop) without your consent.