update path helper in tests