Added tests for dashboard