Testing Strategy for Behavior-centric APIs