Move remaining examples to unit tests, remove unnecessary '\' and align
docstrings to the predominate standard throughout the project.
Fix broken authenticated-build highlighted by the added unit test.
Change-Id: Ic9700f587073946be17be543920a4a3ed7cd19d0