add tests for dashboard links
fix tests