jap + test + batch api