Target should have a built-in Audience that automatically excludes the IAB Bots. This Audience should also provide the ability to add specific user-agents.
Similar functionality can be found within Adobe Analytics (see screen shot below). The IAB Bot Filtering can be checked to filter out known bots, and then the ability to add specific user-agents as well is provided.
Having Bots in the Tests negatively impacts visitor metrics, such as RPV.