Fixed test
Added newton method directive