test api work or not