Fix test PATH issues