test for path