Add tests for class views.CampaignId

Write tests for previously untouched code paths. Rewrite existing docstrings.