Adds test to TeamDetailPage and fixes to DashboardPageTest