Adds test fixes to Dashboard and Document tests.