Fixed failing pledge test