Generalise search root paths in tests