Adding more unit tests for CandidateDAO and general settings for CampaignDAO