add curve test