add test for admin toggle