test for setIsAdmin