tests/path.cpp: factor out the operator/= and operator/ tests into data/table-driven tests