tests for pledge model