Why can't one company test and remove the mold?
Texas bars a license holder from both assessing and remediating the same project, and from owning an interest in both companies. The two roles stay apart so the person who sizes the problem never profits from the fix. You hire a licensed assessor for the plan and a licensed remediator for the work, and the assessor checks the result.
The law exists because the person who decides how much mold there is should not profit from removing it. That separation can feel like extra work, but it protects you from a scope that grows to fit a sales target.
If a company offers both on one project, ask how it satisfies the rule. A company that follows Chapter 1958 will refer you to the other half.
How do you check that a mold company is licensed?
Ask for the company's TDLR license and the licenses of the individuals working on your job, then check them in TDLR's license lookup. A licensed remediator should be able to show both. Do not accept a business card as proof, and confirm that the assessor and the remediator are two separate companies.
Do not accept a business card or a promise as proof. A real license can be confirmed online in a minute, and a company that is licensed will not mind the question.
Also ask who the assessor is and confirm that the two companies are separate. Once you have the protocol in hand, compare quotes against the same written scope.