Test viewdocs