create pledges and tests