add tests for path reader