Finish writing tests for pledge flow spec; testing in progress