add test for chaing pledges