Turn TestAndParameters into a case class