Generating factory for Pledge
Writing tests for Pledge Model