updates to the test document viewer. needs a couple adjustments before deploying