test smart-api