Reverted change in AddPath, and fixed the tests (some where incorrectly translated). Now all pass (except the ones needing Int128, obviously)