Basic API usage test