aoutotest for API