admin endpoint tests