DictionarySpline now calls ConstraintSpline to preserve the types of its input.
Added tests for type constraints in tuples.