Add tests for auth-editor