fix test so it works with multiple paths