added tests for parsing path