PBG vector test cleanup

this pr cleans up the rest of the `TestVector` code by making consistent use of internal helper methods, adding assertion messages for more informative failures, and adding a couple tests to document expected behavior.

the intent and values of the tests are not altered.

whitespace is cleaned up to remove trailing spaces.