test: cover path empty string case
In path.toNamespacePath was a case when the path was empty string and it wasn't covered in the tests.
I covered this case both in Windows and Unix environments.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines