test API calls with formmating options