Making pledge integration tests pass