[SPARK-58081][INFRA] Document Python test base classes in AGENTS.md