Add naive unit test for Admin factory method.