Making tests for Pledge model pass