more work on unit tests
fix edge case crash in simple example when path is absent