Testing the dashboard controller