Making tests for Pledge model to pass