[PLAT-6723] Add test for LeastSquareWithPenaltyResult and constructors of NonLinearLeastSquareWithPenalty