Add test for editting attendance