Added unittest for input error in DictionarySpline.