path-util: put unit test inside test-scope