Test isAdmin functionality