[tests] fix tests for CubicParameterSpace