Fix typos and formatting in the policy/protocols docs

Also updated a test related to these changes, and adjusted line numbers.
Fix typos and formatting in the other policy docs