Under the MLB's current policy, any one who is in the MLB (read: anyone being paid) will be subject to one mandatory test each year and random tests in the offseason.
I can't find the article on ESPN discussing it because ESPN is bloated and its search system doesn't provide the best organized things, but that's the *current* policy.