mkConfig- testPattern parameters order optimized