Added tests for the admin dashboard controller