fixed tests for dashboard page