Bandit testing