Add path.py and related tests. All pass.