simplify test API