tests/path.cpp: add tests for operator/ with a null joining path