change docs/tests to use `version :latest`

Instead of `version 'latest'` (value as string).  The string
form is still permitted during a transitional period.