Update and rename test to pathinfo.py