If you can see mold, then no, you don't need to sample the air at first, but you need to get the mold remediated.  Once the mold removal is complete it's good to have the air quality tested to make sure the problem is corrected for good.
If you don't see any mold but suspect it, then yes you should get your air tested.