Added a pledges controller, and setup a testing suite for pledges