modify the resolver and test code
add the curve template