Weighing up the benefits of online testing