[XLS-521] Create UDF for new style curves - fixing tests