Fix pledge model tests