Add test to admin controller