generating factory for pledge
writing tests for pledge model
making tests for pledge models pass