hiv test for pregnant

Is it really when you are pregnant you need to undergo HIV test? kasama ba talaga sya sa mga ginagawang exam? is it required talaga? curious lng po ?