     test "assigns the correct age groups for a classical ensemble performance", %{contest: c} do
       cc = insert_contest_category(c, "classical")
       attrs = performance_params(cc, [
-        {"ensemblist", ~D[2006-12-31]},
-        {"ensemblist", ~D[2007-01-01]},
-        {"accompanist", ~D[2000-01-01]},
-        {"accompanist", ~D[2002-01-02]},
+        {"ensemblist", birthdate: ~D[2006-12-31]},
+        {"ensemblist", birthdate: ~D[2007-01-01]},
+        {"accompanist", birthdate: ~D[2000-01-01]},
+        {"accompanist", birthdate: ~D[2002-01-02]},
       ])
       {:ok, performance} = Showtime.create_performance(c, attrs)
 

      old_cc = insert_contest_category(c, "classical")

      appearances = [
        {"soloist", ~D[2007-01-01]}, # AG II
        {"accompanist", ~D[2007-01-02]}, # AG II
        {"accompanist", ~D[2005-01-01]}, # AG III
        {"accompanist", ~D[2003-01-01]}, # AG IV
      ]

      old_p = insert_performance(old_cc, appearances)

    test "assigns the correct age groups for a pop ensemble performance", %{contest: c} do
      cc = insert_contest_category(c, "popular")
      attrs = performance_params(cc, [
        {"ensemblist", birthdate: ~D[2006-12-31]},
        {"ensemblist", birthdate: ~D[2007-01-01]},
        {"accompanist", birthdate: ~D[2000-01-01]},
        {"accompanist", birthdate: ~D[2002-01-02]},
      ])
      {:ok, performance} = Showtime.create_performance(c, attrs)

