test: newton: 3 terms and 2 terms compare