fixed test
only use cli curl if enabled