Add additional check for curve parameter and update test docstring
Updated documentation and ChangeLog for TYPE_EC