Implemented RSpec tests for the CampaignController and fixed bugs found during implementation of tests.