add tests for dashboard