test api ready