writing integration tests for pledge model
making tests for pledges pass