Written tests for dashboard.
Merge commit 'df7ffe8'