Add docs and few tests for path