Add tests for curve<->curves

Closes #2148