       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
+        {"soloist", birthdate: ~D[2007-01-01]}, # AG II
+        {"accompanist", birthdate: ~D[2007-01-02]}, # AG II
+        {"accompanist", birthdate: ~D[2005-01-01]}, # AG III
+        {"accompanist", birthdate: ~D[2003-01-01]}, # AG IV
       ]
 
       old_p = insert_performance(old_cc, appearances)

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



      old_p = insert_performance(cc, [
        # These ensemblists together get AG IV
        {"ensemblist", birthdate: ~D[2007-01-01]},
        {"ensemblist", birthdate: ~D[2005-01-01]},
        {"ensemblist", birthdate: ~D[2003-01-01]},
      ])

      [old_ens1 | _] = get_ensemblists(old_p)

      attrs = performance_params(cc, [
        # Update one ensemblist, replace the second and drop the third
        {old_ens1, "ensemblist", birthdate: ~D[2007-01-02]},
        {"ensemblist", birthdate: ~D[2006-12-31]},
      ])

      {:ok, performance} = Showtime.update_performance(c, old_p, attrs)
