tests: newton: add analytic for 1 and 2 points