Contribution API endpoint tests