Test helpers for multi-armed bandit algorithms