unit test on admin controller