Add path tests.
Modify path tests and add point tests.