Finish admin controller tests
Remove unused admin controller functions