API minimale + tests minimaux