consolidate path munging in test scripts