     test "creates a new performance with an edit code", %{contest: c} do
       [cc, _] = c.contest_categories
       attrs = performance_params(cc, [
-        {"soloist", ~D[2007-01-01]},
+        {"soloist", birthdate: ~D[2007-01-01]},
       ])
 
       assert {:ok, %Performance{edit_code: edit_code}} = 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 classical ensemble performance", %{contest: c} do
      cc = insert_contest_category(c, "classical")
      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)

