wrote pledge tests