creating Pledge unit tests