Use high-level APIs in tests