Sort out test settings