pathinfo automation testing