making pledge tests pass