fix(admin): unit test admin state