test worker and choose best one